The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to find out the Process ID for particular one file Bhuvan Linux 4 09-09-2008 09:32 AM
process the old file first dsdev_123 AIX 2 03-25-2008 10:19 AM
Process all file nazri76 Shell Programming and Scripting 2 09-21-2007 11:10 PM
how to kill process from file naamas03 Shell Programming and Scripting 17 11-07-2005 01:14 AM
how to kill process from file naamas03 Post Here to Contact Site Administrators and Moderators 1 09-16-2005 05:03 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 06-20-2004
Registered User
 

Join Date: Jun 2004
Location: Italia - Napoli
Posts: 6
process on file

Hello,

I need to write this C program:

MyProgram <user>

that write on myfile.txt file all <users> 'process.

MyProgram must call the ps -u <user> command, but with an exec or with a system?

can any one help me?

Thank you
Reply With Quote
Google The UNIX and Linux Forums
Forum Sponsor
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 06:07 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0