SIM / SPRI Bad Syntax Perhaps Bogus Bug

by damonp on January 19, 2006

in SysAdmin

Newer versions of the system ps command can give the following error while running SIM or SPRI.

Warning: bad syntax, perhaps a bogus ‘-’? See /usr/share/doc/procps-3.2.3/FAQ

To fix make the following changes.

SIM:
Change /usr/local/sim/sim:

ps -auxww | grep -v $IGNORE >> $PS_CACHE

To:

ps auxww | grep -v $IGNORE >> $PS_CACHE

Removed the ‘-’ in front of auxww. This occurs on or about line #143 in SIM 2.5-3.

SPRI:
Change /usr/local/spri/spri:

ps -auxww > $TF

To:

ps auxww > $TF

Removed the ‘-’ in front of auxww. This occurs on or about line #56 in SPRI 0.5.

Popularity: 1%

Most Popular Posts

Damon Parker is a freelance sysadmin and web developer in Texas. He specializes in server setup, server security and high performance server configurations. Need help setting up a web server or getting a server back online after a crash or hack? Email Damon

Leave a Comment

Previous post:

Next post: