Sponsored Content
Full Discussion: top for Solaris 10
Operating Systems Solaris top for Solaris 10 Post 302177092 by raman1605 on Thursday 20th of March 2008 03:16:01 AM
Old 03-20-2008
Question top for Solaris 10

I need some information for the top statistics being displayed in Solaris 10

they look like the following

Code:
CPU states: 92.0% idle, 3.3% user, 4.7% kernel, 0.0% iowait, 0.0% swap
Memory: 8192M real, 216M free, 9208M swap in use, 1236M swap free

I need to know what does 0.0% swap means. As swap being used is high in the case above compared to free, does that affects the performance of the system as other systems show lower swap in use but there also its like 0.0% swap.

Please comment for this.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

BOX Status with vmstat & top Solaris 2.8

Hi there, I´m trying to get the information of vmstat & top in two different logfiles. That not that difficult. vmstat 30 >> myfile.log top >> myfile2.log But I also like to include a timestamp every 30 sec to be sure from what date the logs are. For the Top command I were able to... (2 Replies)
Discussion started by: isacs
2 Replies

2. Solaris

How to Install Solaris 10 on top of Windows system

Hi Guru's, Since Iam learning Solaris 10 and want to instal it on to my computer in which 'Windows' is already installed. Also many other applications including Oracle, Java etc,. were also installed associated with Windows. Now how can I install Solaris 10 on my system with out affecting my... (4 Replies)
Discussion started by: Lokesha
4 Replies

3. Solaris

syslogd 30% utilization in top, solaris 9

Hi folks, Sorry to barge in and ask a question right off the bat without contributing first. I have a V440, 4 X 1GHZ, 32GB ram, and recently syslogd has started showing 30+ % cpu usage. It's also repeating entries in the syslog, over and over. the /var/log/syslog file had grown to over 2GB - I... (2 Replies)
Discussion started by: chugheshc
2 Replies

4. Solaris

Solaris Top Command

hi all anyone can help me to enable top command on solaris 9 version Regards (9 Replies)
Discussion started by: maooah
9 Replies

5. Solaris

Looking for the top Solaris specific commands

I am changing jobs and need to know a little about Solaris specific commands. I come from AIX and we have commands like errpt, smit, and lsattr that are AIX specific. Any help is appreciated. (4 Replies)
Discussion started by: biznatch
4 Replies

6. Solaris

Memory usage, free and used, using sar, top and vmstat in Solaris zone/container

Hi all, I have a server running an Oracle database that is part of a Solaris M5000 container. Presumably this is referred to as a zone within a cluster, not sure if I get the terminology right. Anyway, a third-party manages the zone and unfortunately is not "helpful/friendly" to assist me on... (1 Reply)
Discussion started by: newbie_01
1 Replies

7. Solaris

HELP - memory usage on Solaris : ps -efl and top

Hi all, OS Version: SunOS <hostname> 5.10 Generic_142900-13 sun4v sparc SUNW,Sun-Blade-T6340 I need some expert guidance on investigating memory usage on Solaris. I want to know whether am interpreting the output from ps -efl correctly and whether the command top is showing the right... (3 Replies)
Discussion started by: newbie_01
3 Replies

8. Solaris

Solaris Crontab & TOP output

Hello Guru's I'm trying to take the output of solaris top command and output to a txt file every few minutes. The issue that I'm experiencing is that I can run the following: #!/bin/bash # logfile="/usr/mvf/morris/top.log" # echo... (2 Replies)
Discussion started by: littlemorris
2 Replies

9. UNIX for Advanced & Expert Users

Solaris memory reported incorrectly by top

Hi guys, I got an issue today with one of my servers. The guy is reporting by top only 1.8 available Gig for physical memory. I see my processes and they don't even get to 15Gigs, I have 64 physical Gigs. Details Memory: 64G phys mem, 1820M free mem, 32G total swap, 32G free swap I have... (4 Replies)
Discussion started by: ocramas
4 Replies
sg_get_cpu_stats(3)					     Library Functions Manual					       sg_get_cpu_stats(3)

NAME
sg_get_cpu_stats, sg_get_cpu_stats_diff, sg_get_cpu_percents - get cpu usage SYNOPSIS
#include <statgrab.h> sg_cpu_percents *sg_get_cpu_percents(void); sg_cpu_stats *sg_get_cpu_stats(void); sg_cpu_stats *sg_get_cpu_stats_diff(void); DESCRIPTION
sg_get_cpu_stats() and sg_get_cpu_stats_diff() both return static pointers of type sg_cpu_stats. sg_get_cpu_stats() returns the total amount of "ticks" the operating system has spent in each of the different states. sg_get_cpu_stats_diff() returns the difference in "ticks" for each of the states since last time sg_get_cpu_stats_diff() or sg_get_cpu_stats() was called. If it has never been called, it will return the result of sg_get_cpu_stats(). The value stored (the "ticks") will vary between operating systems. For example Solaris has a total of 100 per second, while Linux has sub- stantially more. Also, different operating systems store different information - you won't find nice cpu on Solaris for example. Because of this, you will ideally always want to work on a scale against the total, or in percentages. sg_get_cpu_percents() returns a pointer to a static sg_cpu_percents. The function calls sg_get_cpu_stats_diff() and changes the values into percentages. If it has never been called before (and nor has sg_get_cpu_stats() or sg_get_cpu_stats_diff()), the returned percentages will be the systems total ever since its uptime. (Unless the counters have cycled) RETURN VALUES
There are two structures returned by the CPU statistics functions. typedef struct{ long long user; long long kernel; long long idle; long long iowait; long long swap; long long nice; long long total; time_t systime; }sg_cpu_stats; typedef struct{ float user; float kernel; float idle; float iowait; float swap; float nice; time_t time_taken; }sg_cpu_percents; user kernel idle iowait swap nice The different CPU states. systime time_taken The time taken in seconds since the last call of the function, or the system time. SEE ALSO
statgrab(3) WEBSITE
http://www.i-scream.org/libstatgrab/ i-scream $Date: 2005/04/25 11:25:45 $ sg_get_cpu_stats(3)
All times are GMT -4. The time now is 11:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy