Q

Monitoring processes in Solaris 8

I am running Solaris 8 on sparc hardware. I want to be able to monitor the start and end times of processes on the box. Is there a log somewhere that records that, or a utility that can be run to gather stats?
The PS command is probably the most general tool to determine process information. It gives information such as PID (process ID), UID (user ID), priority, control terminal, memory use, CPU time and current status. One can also use the timex command to time processes. This command will give you information on how the command is executed; the elapsed time, user time and system time, reported in seconds. Process accounting data for the command and all its children can also be listed or summarized.

Additionally, the information in the /usr/proc/bin directory contains process tools that can be used to display detailed information about processes, in /proc, which is the process file system (procfs). It stores images of active processes by PID number. The ptime command may be what you are looking for. Do a man on proc for more info on the tools available to you. Good luck!!

More information: Here's a tip on using the PS command.

This was first published in January 2005

Dig deeper on Linux administration tools

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchDataCenter

SearchServerVirtualization

SearchCloudComputing

SearchEnterpriseDesktop

Close