The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




Thread: process list
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 07-02-2009
mbaste2 mbaste2 is offline
Registered User
  
 

Join Date: Jun 2009
Posts: 4
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