Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ps: a probelm

Status
Not open for further replies.

tg2003

IS-IT--Management
Feb 6, 2003
270
IL
hello,
I write a script that puts the output of 'ps -elf' command to a log.
The problem is that when I write 'ps -elf' (even by using it on the command-line) , it cuts the process-column,on the middle and this column is very important for me.
On the other side, I must use the -l switch, because I want to know how much memory is taken by every process. May someone know how to print the full process-command ?

thanx
btw:
 
if you go to keyword search and search for ps you will find " DISPLAYING MORE THAN 132 COLUMNS WITH PS"
 
Sorry, I had a typo: "/usr/ucb/ps -auxl :)
This should fix your problem

Solaris 8 Certified System Administrator
Sun Cerified Security Administrator
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top