Tag Archives: Red

Firefall Public Beta Weekend Tests Starting Soon

If you’re looking forward to playing Red 5 Studios’ upcoming shooter MMO Firefall and haven’t been in closed beta testing, you’ll have an opportunity to play it soon. On January 25 Red 5 will start up the first of three beta tests and let everyone in who wants to play for a limited time.

Firefall will officially launch later in 2013 and features both player versus player arena modes as well as co-op player versus environment gameplay. If you decide to play in the 48-hour beta weekends, you’ll also have a chance to take on special challenges, which you can read about over on Red 5’s site.

Check out an updated teaser video for Firefall below.

Continue reading…

Source: FULL ARTICLE at IGN Video Games

Help on ps tree listing command – Linux/Solaris

By newbie_01

Hi all,

Can any guru please help on how I can tweak the following ps command so that it only shows the lines that I wanted.

Code:

$ command ps -HAcl -F S -A f

F S UID PID PPID CLS PRI ADDR SZ WCHAN RSS PSR STIME TTY TIME CMD
4 S root 1 0 TS 24 - 2592 ? 684 4 2012 ? 59368:31 init [3]
1 S root 2 1 FF 139 - 0 migrat 0 0 2012 ? 0:17 [migration/0]
1 S root 3 1 TS 5 - 0 ksofti 0 0 2012 ? 0:00 [ksoftirqd/0]
...
...
...
5 S root 11953 1 TS 24 - 39673 ? 8520 21 2012 ? 13:49 /usr/sbin/snmpd -Lf /dev/null -p /var/run/snmpd.pid -a
5 S root 11982 1 TS 24 - 15662 ? 1212 7 2012 ? 372:27 /usr/sbin/sshd
4 S root 586 11982 TS 23 - 22537 ? 3336 9 15:25 ? 0:00 _ sshd: ben [priv]
5 S ben 714 586 TS 24 - 22537 ? 1864 18 15:25 ? 0:01 _ sshd: ben@pts/3
0 S ben 718 714 TS 24 - 16229 wait 1588 7 15:25 pts/3 0:00 _ -ksh
4 S root 801 718 TS 23 - 25270 wait 1372 14 15:25 pts/3 0:00 _ su - oracle
4 S oracle 856 801 TS 24 - 16553 wait 1732 19 15:25 pts/3 0:45 _ -bash
1 S oracle 9282 856 TS 22 - 16553 wait 808 19 17:47 pts/3 0:00 _ -bash
0 R oracle 9284 9282 TS 20 - 16753 - 2284 12 17:47 pts/3 0:00 | _ ps -HAcl -F S -A f
0 S oracle 9283 856 TS 21 - 15253 - 572 13 17:47 pts/3 0:00 _ more
1 S root 11996 1 TS 24 - 5416 ? 884 9 2012 ? 0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
5 S ntp 12017 1 TS 24 - 5853 ? 5044 20 2012 ? 0:56 ntpd -x -u ntp:ntp -p /var/run/ntpd.pid
4 S root 12079 1 TS 24 - 13545 ? 2316 21 2012 ? 0:10 /usr/libexec/postfix/master
4 S postfix 12094 12079 TS 24 - 13605 ? 2420 9 2012 ? 0:00 _ qmgr -l -t fifo -u


I want the command to only display the ones that is related to my ssh session which are the ones in RED.

To be more specific, I am wanting to display a ps tree listing by providing the PPID.

I tried running the same command and including a -p [PPID] but that still does restrict the listing.

Also tried running the same command in Solaris and it is saying

Code:


$: ps -HAcl -F S -A f
ps: illegal option -- H
ps: illegal option -- F
usage: ps [ -aAdeflcjLPyZ ] [ -o format ] [ -t termlist ]
[ -u userlist ] [ -U userlist ] [ -G grouplist ]
[ -p proclist ] [ -g pgrplist ] [ -s sidlist ] [ -z zonelist ]
'format' is one or more of:
user ruser group rgroup uid ruid gid rgid pid ppid pgid sid taskid ctid
pri opri pcpu pmem vsz rss osz nice class time etime stime zone zoneid
f s c lwp nlwp psr tty addr wchan fname comm args projid project pset


Anyone know what’s the equivalent option to use in Solaris?

Feedback / advice is much appreciated. Thanks in advance.

Source: FULL ARTICLE at The UNIX and Linux Forums

At A Glance Coloured Real Time Bargraph Generator…

By wisecracker

Not sure if anyone is interested but I am just getting into UNIX like shell scripting…

I have great interest in pseudo-animations in text mode and accessing HW like /dev/dsp for example…

All the information is inside the code and this has been uploaded to code.activestate.com…

Have fun, I do… ;o)

Code:


# !/bin/sh
#
# Bargraph_Generator.sh
#
# A DEMO 6 bit coloured bargraph animation for a default Bash and Terminal window on OSX 10.7.5...
# A simple Shell script to display an _AT_A_GLANCE_ real time analogue bargraph generator. It
# starts off with GREEN for OK, then YELLOW for warning and finally ending with RED for danger
# with a critical beep for values 61 to 63 inclusive.
# It assumes an 8 bit value being injected into the script which is then divided by 4 to give
# a 6 bit value which is 64 spaces width inside the Terminal. The DEMO uses a random number
# generator to give a representation of an 8 bit value so you can see it working...
#
# A shell derivative of my Python code:-
# http://code.activestate.com/recipes/577612-seven-bit-colored-analogue-bar-graph-generator-dem/?in=user-4177147
#
# To run, ensure the script is executable and change if required, then type from a Terminal:-
#
# xxxxx$ /full/path/to/Bargrapth_Generator.sh
#
# And away you go...
#
# Written in such a way that kids and newbies can understand what is going on.
#
# Originally written for a Macbook Pro 13 inch, OSX 10.7.5 using the default Terminal.
# It MIGHT work on some Linux variants but WAS intended for MacOS OSX 10.7.x and above only.
#
# The Terminal colours WILL be changed to Black background and Various foreground colours.
# It will NOT be returned back to its original state although it can be easily. If you
# need to rerturn back to default state then there are a couple of easy methods the
# simplest being type:-
#
# xxxxx$ reset
#
# And all will be corrected...
#
# Issued entirely as Public Domain and you may do with it as you please
#
# $VER Bargraph_Generator.sh_Version_0.00.10_(C)2012_B.Walker_G0LCU.
#
# Enjoy finding simple solutions to often very difficult problems...

# The required _varibales_ for ease of coding, these are the colours...
# White On Black.
WOB="x1B[1;37;40m"
# Black On Green.
BOG="x1B[1;30;42m"
# Black On Yellow.
BOY="x1B[1;30;43m"
# Black On red.
BOR="x1B[1;30;41m"
# Green On Black.
GOB="x1B[1;32;40m"
# Yellow On Black.
YOB="x1B[1;33;40m"
# Red On Black.
ROB="x1B[1;31;40m"

# Set the pseudo 6 bit value to zero.
SIX_BIT_DEPTH=0

# Do a clear screen to White On Black.
printf $WOB
clear

while true
do
# Set up the screen per scan and prepare for the bargraph.
clear
printf $WOB"n $VER: Bargraph_Generator.sh_Version_0.00.10_(C)2012_B.Walker_G0LCU.nn"
printf " A horizontal, at a glance, coloured, analogue bargraph display forn"
printf " a default Terminal inside OSX 10.7.5..nnnnn"
printf " 0 10 20 30 40 50 60"
printf $GOB"n +----+----+----+----+----+----+----+----+----+"$YOB"----+----+"$ROB"----+--n"
printf $GOB" (| "$ROB")n"
printf $GOB" +----+----+----+----+----+----+----+----+----+"$YOB"----+----+"$ROB"----+--nnnn"
# If the 6 bit value is 0, zero, do no more until printing the 6 bit value and generating another 6 bit value...
# Anything greater than or equal to 1 enters this conditional branch.
if [ "$SIX_BIT_DEPTH" -ge "1" ]
then
# If the 6 bit value is less than or equal to 46 then _plot_ the green section only.
# The 'x1B[12;8f' is the ANSI 'Esc' code that forces the print position to 12 lines by 8 columns.
if [ "$SIX_BIT_DEPTH" -le "46" ]
then
BARGRAPH=$GOB"x1B[12;8f("$BOG
for green in $(seq 1 "$SIX_BIT_DEPTH")
do
BARGRAPH=$BARGRAPH" "
done
fi
# If the 6 bit value is greater than or equal to 47 then print the green section and _plot_ the yellow section.
if [ "$SIX_BIT_DEPTH" -ge "47" ]
then
BARGRAPH=$GOB"x1B[12;8f("$BOG" "$BOY
for yellow in $(seq 47 "$SIX_BIT_DEPTH")
do
BARGRAPH=$BARGRAPH" "
done
fi
# If the 6 bit value is greater than or equal to 57 then print the green and yellow section and _plot_ the red section.
if [ "$SIX_BIT_DEPTH" -ge "57" ]
then
BARGRAPH=$GOB"x1B[12;8f("$BOG" "$BOY" "$BOR
for red in $(seq 57 "$SIX_BIT_DEPTH")
do
BARGRAPH=$BARGRAPH" "
done
fi
printf "$BARGRAPH"$GOB"nnnnn"
fi
# When the 6 bit value is greater than or equal to 61 sound a system error beep.
if [ "$SIX_BIT_DEPTH" -ge "61" ]
then
printf "a"
fi
# Print the 6 bit value in White On Black...
printf $WOB" Random number generated "$SIX_BIT_DEPTH"...nn"
printf " Press Ctrl-C to stop the program...nn"
# Generate another 6 bit value as though from an 8 bit value...
SIX_BIT_DEPTH=$[($RANDOM % (256/4))]
# A practical lower limit for the sleep command is 'sleep 0.05'...
sleep 1
done

# End of Bargraph_Generator.sh DEMO.
# Enjoy finding simple solutions to often very difficult problems... ;o)


Source: FULL ARTICLE at The UNIX and Linux Forums

Review: Remove Empty Directories sweeps the trash out of your Windows OS

One of the downsides of using Windows is that, as time goes on, a lot of crud builds up in the nooks and crannies, eventually slowing the whole PC down to a crawl. One example of this is the empty folders left behind by things such as uninstalled software and temporary files. A small freeware app called Remove Empty Directories exists to make your PC experience that little bit easier.

RED is a very simple program with a very simple interface. And it should be; deleting empty folders isn’t complicated, just tedious and time-consuming.

After installing Remove Empty Directories, you first need to visit the settings and check /uncheck the options, according to your preferences. You can also construct a whitelist of directories and files that the app should leave well alone. Examples include cloud services such as Dropbox and Google Drive, as well as temporary files that apps need in order to be able to operate.

Just choose the drive you want scanned, and empty directories will show up in red. Gray folders will not be touched, and blue folders are protected.

When you have the settings configured to your satisfaction, you will then be asked to choose a directory or drive to scan. Since a lot of people choose to install Windows in the C drive, this is usually the drive with the greatest number of empty folders in it, but of course you can change the drive letter if you wish. All you have to do is click the “browse” button and navigate to the directory or drive’s location.

To read this article in full or to leave a comment, please click here

Source: FULL ARTICLE at PCWorld

Amazon AutoRip service bundles digital copies, CD purchases

Amazon wants to breathe life back into CD sales by offering free MP3 versions of your Amazon CD purchases including any discs you’ve bought since 1998 with a new program called AutoRip. Your free MP3s are automatically stored in Amazon Cloud Player after you purchase a new CD and are available for playback or immediate download. Past purchases that are eligible should automatically show up in Cloud Player. The free digital tracks do not count against your Cloud Player storage limits as with purchases from Amazon’s MP3 store.

More than 50,000 CDs are AutoRip eligible including albums from every major label with titles such as “Babel” by Mumford & Sons, “Red” by Taylor Swift, “21” by Adele, “Some Nights” by Fun, and “Girl On Fire” by Alicia Keys. You can browse a list of AutoRip albums on Amazon .

All AutoRip MP3s have a bit rate of 256 Kbps, making them equivalent to the high-quality tracks Apple offers with iTunes Match and that Google offers with the new scan-and-match feature on Google Music. Amazon also offers a scan and match service for Cloud Player that puts 256 kbps versions of your personal library in the cloud.

“I’m excited to see Amazon…embrace models that acknowledge the importance of both [physical CD and music downloads] to music fans,” said Preston Austin, cofounder of Murfie, an online marketplace that lets you buy, sell, and trade physical CDs online. “Liberating the music fan to get the most out of online and offline technology is where Murfie competes and where we want the industry to be.” Amazon’s new service puts the online retailer in competition with Murfie’s service that also includes ripping physical CDs and creating digital copies of your CD collection.

To read this article in full or to leave a comment, please click here

Source: FULL ARTICLE at PCWorld

South Korea warns that North Korea has developed rockets that can reach the US mainland

By David Piper

South Korean officials say analysis of debris from the latest North Korean rocket shows it has the ability to reach the US mainland.

At a news conference in Seoul on Sunday, Defense Ministry officials made the announcement after their experts looked at parts of the rocket that fell in the sea after Pyongyang’s successful launch on Dec. 12.

They have only recovered part of the first stage of the rocket from the Yellow Sea off South Korea‘s West Coast.

But that has shown them, they believe, that North Korea now has the ability to fire it.

Their estimate comes from analyzing an oxidizer container, which stored red fuming nitric acid to fuel the first-stage propellant.

“Based on our analysis and simulation, the missile is capable of flying more than 10,000 kilometers (6,200 miles) with a warhead of 500-600 kilograms,” a defense ministry official told reporters.

South Korean missile experts believe the use red fuming nitric acid shows it was an intercontinental missile test.

Red fuming nitric acid was used in missiles developed by the Soviet Union,”
said a member of the South Korean Defense Ministry team.

“Because it used red fuming nitric acid as an oxidizer, which can be stored for a long time at normal temperature, the team concluded that (the rocket) was intended for testing (the North’s) ICBM technology, rather than developing a space launch vehicle.”

The analysis will give support to the argument by America and its allies that they believe North Korea the rocket launch was an attempt to test an inter-continental ballistic missile rather than, as Pyongyang maintains, part of a space program.

South Korean Defense officials say though its impossible to determine if North Korea has developed re-entry capability, a key element of an inter-continental ballistic missile, until they recover parts of the second and third stages of the rocket.

Defense experts believe Pyongyang has shown with the successful launch of an object into space via a three-stage rocket that it has moved a major step forward in developing inter-continental missile technology.

“In technological terms, the launch moves North Korea a major step closer to developing an inter-continental ballistic missile. It demonstrates the successful development of a three-stage rocket design, which, although not a ballistic missile,” James Hardy, Asia Pacific Editor, IHS Jane’s Defense Weekly told Fox News.

Its widely thought that it will be many years before North Korea can develop a long-range missile that can carry a nuclear warhead but it has surprised many by its ability with its latest rocket launch.

Even if a nuclear threat to the US West Coast may be far in the future there is a real danger now that Pyongyang will press ahead with an attempt to develop a shorter range missile that can carry a nuclear warhead.

Jim O’Halloran, a weapons analyst with IHS Jane’s, told Fox News that “this particular missile bears no direct threat to the US continent and indeed will be some time, probably many years, before this could happen.”

“It will on the other hand give rising concern to North Korea‘s neighbors in that they must now start addressing their previous concerns about how long it will take the North Koreans to develop long-range missile technology into some kind of intermediate/long-range ballistic missile that can carry a warhead that can threaten those countries.”

While there were mass celebrations in North Korea following the successful rocket launch it only raised tensions in the region that was already reeling from rows over disputed islands between China, Japan and South Korea.

Even the celebration of Christmas has now become part of the tense Korean standoff.

About 100 Christians attended the ceremony to light up a giant Christmas tree this weekend near the border with North Korea.

It was an annual ritual that was stopped back in 2003 to try to improve relations between the two countries.

But it has now resumed following a deadly artillery attack by North Korea on a South Korean island.

Pyongyang says the tree is psychological warfare and has nothing to do with Christmas and could cause more conflict.

Source: Fox World News

Play a Game to Help Fight AIDS

A new free-to-play running / music game has been launched to raise awareness and funds for the fight against AIDS, aiming to help eliminate mother-to-child transmission of HIV by 2015.

THRED has been created by BitMonster with the sponsorship of Coca-Cola and the charity RED, which was founded in 2006 by singer Bono and  activist-politician Bobby Shriver.

The game takes place in an abstract 3D-world. Players are constantly on the move, dodging obstacles and collecting power-ups. Funds are raised through in-app purchases that improve performance. All pre-tax proceeds go to RED’s work.

Continue reading…

Source: IGN Video Games

Dishonored: Dunwall City Trials Challenge Guide – Kill Cascade

Find out how to get 3 stars on the ‘Kill Cascade‘ challenge in Dishonored’s ‘Dunwall City Trials’ DLC pack.

Perform Drop Asassinations as you try to reach the final platform as fast as possible.”

Green marker – Sprint and drop onto enemy
Yellow marker – Sprint, then double-jump to reach enemy
Red marker – Sprint, double-jump then blink to reach your target
Source: IGN Video Games