System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

How to check which processes ran at a time range and network status

 
SOLVED
Go to solution
Highlighted
Super Advisor

How to check which processes ran at a time range and network status

Hi

For troubleshooting reason, I'd like to get some system information about which processes were running in a time range. For example, between Apr, 7 23:00 and Apr, 8 3:00, which processes were running?

Also, I'd like know how to check network info between a time range.

Thanks a lot.

Any answers will be very appreciate.

-G

7 REPLIES 7
Highlighted
Honored Contributor
Solution

Re: How to check which processes ran at a time range and network status

If you have glance plus (or better HP-OpenView) installed on your system, there is a way to do this but takes a little bit of finesse that I do not have under my belt. Your best bet is to ask on management software and system tools forum.
________________________________
UNIX because I majored in cryptology...
Highlighted
Super Advisor

Re: How to check which processes ran at a time range and network status

Thanks Mel for your fast reply.

We do have glance installed on that HP-UX 11i v1 server. But how to check it out like processes and network info in time range between 23:30 - 03:30? How to export data to a .txt file.

I used command sar with option -u and -d with -s -e export CPU and disk I/O data between 23:30 - 03:00 but have no idea how to do the same thing for memory, processes, network via command sar. or glance you suggested.

Any suggestion?
Highlighted
Honored Contributor

Re: How to check which processes ran at a time range and network status

As I have said, the file you need to extract your data from is called logproc (process log) and it is under /var/opt/perf/datafiles. It is a binmary file and utility to extract data from that file is called, guess what, *extract* ! You can read man pages but I found this very daunting years ago. And asked the same question in the other forum and was able to get the gist of its usage.

Strongly advise the same to you...
________________________________
UNIX because I majored in cryptology...
Highlighted
Honored Contributor

Re: How to check which processes ran at a time range and network status

Also, before I forgot, there is another piece in this puzzle, which is the configuration file called parm, located under, /var/opt/perf How much data and detail goes into those log files and how long they are kept is controlled by this file. Again, it might as well be written in Swahili as my grasp on it is very little.
________________________________
UNIX because I majored in cryptology...
Highlighted
Super Advisor

Re: How to check which processes ran at a time range and network status

Thanks a lot Buddy.

-G
Highlighted
Esteemed Contributor

Re: How to check which processes ran at a time range and network status

Hi gary,

Wel for processes you might find this command interesting in your scenario. It's worth a look....

man acctcom

Regards
Ismail Azad
Read, read and read... Then read again until you read "between the lines".....
Highlighted
Acclaimed Contributor

Re: How to check which processes ran at a time range and network status

If you haven't explicitly logged that info, you can't get it now.
You do have user login info. You can see cron info but not likely processes.
I doubt you would see network info.