- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Idle time using sar is 0
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2002 06:47 AM
тАО05-15-2002 06:47 AM
10:02:18 %usr %sys %wio %idle
10:02:22 13 10 78 0
10:02:26 18 13 69 0
10:02:30 13 10 77 0
10:02:34 15 14 71 0
10:02:38 10 8 82 0
10:02:42 7 8 85 0
10:02:46 20 12 68 0
10:02:50 10 9 81 0
10:02:54 17 19 63 0
10:02:58 10 11 79 0
Average 13 11 75 0
Solved! Go to Solution.
- Tags:
- sar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2002 06:52 AM
тАО05-15-2002 06:52 AM
Re: Idle time using sar is 0
hi
idle time 0 means ur CPU is 100% utilised fm sar o/p it is is teling some process is waiting for IO/ so please check what is the process which is using CPU using 'top'
if ur having glance it will give good picture
CTK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2002 06:52 AM
тАО05-15-2002 06:52 AM
Re: Idle time using sar is 0
Do an "iostat 1 5" to see which disks are getting pounded. You may have a run-away application process. If your system is hosting a database, you may have had someone doing a large query, or perhaps they typo'd the input and are selecting a data range that includes all the data in the tables they are querying against instead of just a subset.
HTH
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2002 06:53 AM
тАО05-15-2002 06:53 AM
Re: Idle time using sar is 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2002 07:04 AM
тАО05-15-2002 07:04 AM
Re: Idle time using sar is 0
The idle time 0% means the system CPU is fully utilized this time. The sar output shows a high I/O waiting too ! I would suggest you to check the system with GlancePlus:
# gpm
Also run 'top' for better process/process status. These are the tools which you could use:
# top
# vmstat
# swapinfo
# sar -d 1 10
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2002 07:26 AM
тАО05-15-2002 07:26 AM
Re: Idle time using sar is 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2002 07:32 AM
тАО05-15-2002 07:32 AM
Re: Idle time using sar is 0
# vmstat
# swapinfo
# sar -d 1 10
is attached....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2002 07:33 AM
тАО05-15-2002 07:33 AM
Re: Idle time using sar is 0
The top output you have attached is the first page only. There are 54 more pages like that.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2002 07:34 AM
тАО05-15-2002 07:34 AM
Re: Idle time using sar is 0
hi
Now the top o/p is showing normal. nothing extraordinary.this time i assume that your system is working fine.
see what you have to do is when u feel that ur system is really slow. just check the again the top output and do a sar -u 1 100 so that you can find out what is the process which is loading the CPU (waiting for IO).
CTK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2002 07:35 AM
тАО05-15-2002 07:35 AM
Re: Idle time using sar is 0
The original sar output with 0% idle may have meant that 2-3 users all decided to run du / at the same time, causing massive I/I ans system overhead to calculate disk usage.
You really need a better tool like Glance to show you what the system is really doing. It's on your Application CDs.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2002 07:40 AM
тАО05-15-2002 07:40 AM
Re: Idle time using sar is 0
hi
ur sar -d is showing something is doing some IO.just find out what is that process..
If u r having glance , u will get a clear picture which process is doing that much IO operation.
You can find the trial version of glance in the application CD
CTK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2002 07:40 AM
тАО05-15-2002 07:40 AM
Re: Idle time using sar is 0
Again, the sar -d output showing a very high load on the disk /dev/dsk/c1t2d0. This causes the I/O waiting on the system.
Also the 'top' output looks okay now, eventhough the load is high. I would suggest you to load GlancePlus and check the disk activities, processes running, resource utilization etc.
Also check this kernel parameter - dbc_max_pct. If it is set to the default 50%, then reduce it to a lower value (15% ?)
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2002 07:47 AM
тАО05-15-2002 07:47 AM
Re: Idle time using sar is 0
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2002 07:49 AM
тАО05-15-2002 07:49 AM
Re: Idle time using sar is 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2002 08:12 AM
тАО05-15-2002 08:12 AM
SolutionLook at the filesystems which are on c1t2d0. If possible move some of the filesystem to other disk.
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2002 08:12 AM
тАО05-15-2002 08:12 AM
Re: Idle time using sar is 0
hi
just find out which VG is this disk c1t2d0 included and find out what the LV's in that disk. if any filesystem find which file is getting updated.
CTK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2002 08:18 AM
тАО05-15-2002 08:18 AM
Re: Idle time using sar is 0
What is running on c1t2d0 ? And there are lot of openmail processes running , the load is also too high like 7.43 . The system is waiting for 1/0 as this disk is being used the most more thatn 99 % . Does this belong to vg00 ?
I if possible can you please also attach a ps -ef list and answer to which vg this disk belongs too and may be try to search for the process which is making the disk busy .
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2002 08:34 AM
тАО05-15-2002 08:34 AM
Re: Idle time using sar is 0
HTH
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2002 09:05 AM
тАО05-15-2002 09:05 AM
Re: Idle time using sar is 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2002 09:23 AM
тАО05-15-2002 09:23 AM
Re: Idle time using sar is 0
Check what is installed on c1t2d0. I think that a swap volume is installed on it ??
Give the details. I think taht ur system is busy swapping.
HTH,
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2002 09:27 AM
тАО05-15-2002 09:27 AM
Re: Idle time using sar is 0
Appears to me you're short on memory.
Definitely check dbc_max_pct in kernel params & if @ 50% bring it down to no more than 20-25%. Remember this value is the max % of SYSTEM memory to use for buffering, so if buffers use their max you only have 256 Mb of memory for everything else.
Also if you have a high OpenMail user count on this box, I'd strongly recommend you bring memory up to at lease 1Gb from the 512Mb you currently have.
Your high disk usage is directly tied to having to page in/out when memory is exhausted.
Another recommendation would be to get another disk in their & swap to it instead of the primary disk. If you can't get the memory, this would be the next best way to help this system & probably cheaper to boot.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2002 09:41 AM
тАО05-15-2002 09:41 AM
Re: Idle time using sar is 0
Another thing you can do. Set the priority of both the swap as same i.e. 1. Then it will swapp in both the device. And if possible devide the swap into two disks, not in one disk.
The above things can increase your performance marginally. To improve the performance you have to install more memory.
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2002 09:49 AM
тАО05-15-2002 09:49 AM