LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-15-2007, 03:43 AM   #1
alix123
Member
 
Registered: Nov 2004
Posts: 63

Rep: Reputation: 15
Question Perl to get the complete process info for all process


Is there any perl library to get the real time information about the processes(windows),system CPU utilization,memory etc.

I'am looking for the following information for all process & for a single process.

PID, CPU,CPU time Mem Usage,Peak Mem usage, Mem Delta, page Faults , PF Delta, VM Size, , Paged Pool, NP pool , process names,base priority,handles,Threads,user objects,GDI,objects,I/O Reads,I/O writes,I/O Reads bytes,I/O Write Bytes.

Basically All this information is revealed by the task manager in Windows.

Any ways to dump above information in real time to a file using perl??

Last edited by alix123; 08-15-2007 at 03:47 AM.
 
Old 08-15-2007, 05:35 AM   #2
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,515

Rep: Reputation: 239Reputation: 239Reputation: 239
on what?
on solaris you can prstat into a file, linux you can probably
top into a file specifying the number, interval etc.

I did a similar thing at work recently.
 
Old 08-15-2007, 07:02 AM   #3
alix123
Member
 
Registered: Nov 2004
Posts: 63

Original Poster
Rep: Reputation: 15
On windows

Looking for similar On windows , to replicate the task manager functionality in windows? Any idea about windows?

Last edited by alix123; 08-15-2007 at 07:03 AM.
 
Old 08-15-2007, 07:27 AM   #4
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,515

Rep: Reputation: 239Reputation: 239Reputation: 239
oh sorry
 
Old 08-16-2007, 01:36 AM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,360

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Try asking over here: http://www.perlmonks.org/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cron process - info kshkid Programming 7 03-14-2006 01:42 PM
how to send some info to a process? puishor Programming 1 11-28-2005 03:09 PM
nohup process dosen't complete JeffCrew Linux - Newbie 1 10-13-2005 10:38 PM
FC3 won't complete boot process rfk Fedora 3 12-09-2004 12:28 PM
Process Info (more than ps ) LammaDog Linux - Newbie 2 05-12-2002 02:22 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration