![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Process list | rajesh08 | UNIX for Dummies Questions & Answers | 2 | 12-08-2008 12:08 PM |
| List TCP ports with process | vimes | SUN Solaris | 7 | 10-30-2008 11:22 AM |
| How to list the resources used for each process | victorcheung | AIX | 3 | 05-06-2008 01:51 AM |
| list windows process | ncatdesigner | UNIX for Advanced & Expert Users | 3 | 03-06-2008 08:02 PM |
| OS functions for process list | jalburger | SUN Solaris | 1 | 04-09-2007 05:49 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
process list
i read in ps manual that -C cmdlist will just result to processes stated in the cmdlist. i intend to issue this command
ps c -FC "firefox-bin, soffice.bin" here cmdlist contains two executables only. in the future, this cmdlist will grow. is there a way i can make ps read a csv file as the source of cmdlist? thanks |
|
||||
|
process list
sir jim,
thanks, that worked! i am using bash. your reply prodded me to read more on substitution. good lead, sir. may i extend my luck with some more questions? can the ps command in a server-side script be made to execute on another workstation in the LAN? that is, selected workstation(s) in the network will be asked to run the ps locally but the csv file comes from the server. this is to avoid each workstation having to wget the csv file from the server and copied locally. the output of the ps command is also redirected to a file in the workstation (only because i dont know how to redirect it to a file on the server instead). and sometime later, i can then just execute a cron task to wget those local files into a directory in the server for later processing. but if a server script can be made to run the ps command (referring to processes running in the workstation) and the ps output can be directed to a file on the server, that would even be better. i am not sure of my newbeeish approach, better ideas are most welcome. but i am at a loss on what keywords to search over the net. thanks again |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Tags |
| ps |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|