infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Read Only Archives
Cloverleaf
Operating Systems
top command output
jcobane1
Is there a way to capture the %CPU %Idle %User , etc. information to file in an automated fashion?
Find more posts tagged with
Clovertech
Comments
System
Originally posted by Jonathan Hamilton
Try using sar instead.
sar -u
AIX naxxxx 1 5 0008F2XXXC00 08/11/05
00:00:01 %usr %sys %wio %idle
...
14:20:00 5 27 1 67
14:40:01 4 26 1 69
15:00:00 4 26 1 68
15:20:00 5 27 4 64
15:40:01 7 27 7 58
Average 5 26 1 68
Your system is probably storing the sar output for 30 days. Ours is stored in /var/adm/sa as saDD where DD is the day of the month. Your location may be different. If you find the archived sar files use 'sar -f filename' to view a specific file.
You can also get information from sar about your calls, kernel, paging, etc.
You could also use vmstat to get memory, paging, faults and cpu usage.
jcobane1
Johnathon,
Thanks! It's just what I was looking for.
Jim