Sponsored Content
Operating Systems Solaris Top and Prstat display different results for memory Post 302101202 by zen03 on Friday 29th of December 2006 02:28:02 AM
Old 12-29-2006
Thanks alot for Perderabo for the detailed explaination, that really clears up everything. Cheers!
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How Can I Have Top Display The Top 20 Processes??

how can i do that in a script withough havin the script halt at the section where the top command is located. am writign a script that will send me the out put of unx commands if the load average of a machine goes beyond the recommended number. top -n 20 i want to save this output to a file... (1 Reply)
Discussion started by: TRUEST
1 Replies

2. AIX

TOP Results AIX 5.3

With the exception of the Oracle processes can anyone telll me what these other AIX processes are???? 1032 root 16 21 20K 8K 0.0 slp 0:22+ 145:55 0.0/ 0.5 Kernel (lrud) 51178 root 39 21 20K 20K 0.0 slp 0:12+ 7:10 0.0/ 0.0 Kernel (aioserver) ... (1 Reply)
Discussion started by: mcastill66
1 Replies

3. UNIX for Dummies Questions & Answers

diff between prstat and top

what is the diff between prstat and top command in unix? can anyone tell me please? (2 Replies)
Discussion started by: venkatesht
2 Replies

4. AIX

Need a list of top 10 CPU using processes (also top 10 memory hogs, separately)

Okay, I am trying to come up with a multi-platform script to report top ten CPU and memory hog processes, which will be run by our enterprise monitoring application as an auto-action item when the CPU and Memory utilization gets reported as higher than a certain threshold I use top on other... (5 Replies)
Discussion started by: thenomad
5 Replies

5. Solaris

100% memory usage in prstat

Hi Guys, I have observed the Oracle (DB USER) is utilizing 100% of the memory in the prstat -a output. I am bit confused is it normal and if not how to bring it down? ABout the machine it is a SunOS 5.10 Generic_125100-10 sun4v sparc SUNW,Sun-Fire-T200. Please see below output of prstat -a... (12 Replies)
Discussion started by: Asteroid
12 Replies

6. Shell Programming and Scripting

Display echo results in three column

Dear Friends, I have my command output which displays on one row and values are now scrollable (vertical) 3 pages. How do i display those output in three column so that i no need to scroll? Example: dcadd$cat components 1.Caluculator 2.Diary ... ... 50.Mobile 51.Battery .. ...... (12 Replies)
Discussion started by: baluchen
12 Replies

7. Solaris

Free memory in top and prstat command

Hi Export, i execute 'top' command to show the free memory in Solaris host, but the read is much lower than the RSS value shown in prstat command. Which one can reflect the real status and it is possible the difference caused by any patch of OS? Top command (only 883 memory is free)... (3 Replies)
Discussion started by: eiga
3 Replies

8. Solaris

prstat RSS memory

Hi everyone, was hoping someone might be able to help me understand what I am seeing on one of our solaris systems. prstat -s size -a is showing user oradba as being top virtual memory consumption. 639 oradba 3012G 2951G 100% 59:44:01 25% why is it saying 3012G size and 2951G RSS... (6 Replies)
Discussion started by: k4boy
6 Replies

9. Shell Programming and Scripting

how to display some special results with AWK

I have a file like this: AAEQGAGNQPQH,,,,160,32,,,, AAGQDYNSPLH,,712,39,,,,,, AAGREGGNTEAF,26,,,,,,,,4 AAGSPQH,,,,8,5,,,, AAKKLGQFYNEQF,4,,6,,,7,,,2 AANSGGRYNEQF,,2747,3120,,,,,, AAQGGVGGELF,,,,5,,12,36,, AAQGLAGYYEQY,,25,13,,,,,, AAQRGNEQF,510,2,,,6,,6,,76 AAQTGENSPLH,,16,16,,,,,, The... (9 Replies)
Discussion started by: xshang
9 Replies

10. Shell Programming and Scripting

Format Top and prstat command output

need help with formatting output of command top and prstat. My requirment is to remove few columns and display remaining . But when i used awk to do that the output seems to be have gone vague, mixing the column values. After using awk to print particular column the output seems to have lost... (1 Reply)
Discussion started by: NarayanaPrakash
1 Replies
sttyv6(7)						 Miscellaneous Information Manual						 sttyv6(7)

NAME
sttyv6: stty - terminal interface for Version 6/PWB compatibility DESCRIPTION
These routines attempt to map the UNIX Time-Sharing System, Sixth Edition (Version 6), and PWB stty and gtty calls into the current ioctls that perform the same functions. The mapping cannot be perfect. The way the features are translated is described below. The reader should be familiar with before studying this entry. The following data structure is defined in the include file struct sgttyb { char sg_ispeed; /* input speed */ char sg_ospeed; /* output speed */ char sg_erase; /* erase character */ char sg_kill; /* kill character */ int sg_flags; /* mode flags */ } The flags, as defined in sgtty.h, are: define HUPCL define XTABS define LCASE define ECHO define CRMOD define RAW define ODDP define EVENP define ANYP define NLDELAY define TBDELAY define CRDELAY define VTDELAY define BSDELAY define CR0 define CR1 define CR2 define CR3 define NL0 define NL1 define NL2 define NL3 define TAB0 define TAB1 define NOAL define FF0 define FF1 define BS0 define BS1 When the command (ioctl is executed, the flags in the old structure are mapped into their new equivalents in the structure. Then the com- mand is executed. The following table shows the mapping between the old flags and the current flags. Note that flags contained in the structure that are not mentioned below are cleared. HUPCL (if set) sets the termio HUPCL flag; HUPCL (if clear) clears the termio HUPCL flag; XTABS (if set) sets the termio TAB3 flag; XTABS (if clear) clears the termio TAB3 flag; TBDELAY (if set) sets the termio TAB1 flag; TBDELAY (if clear) clears the termio TAB1 flag; LCASE (if set) sets the termio IUCLC, OLCUC, and XCASE flags; LCASE (if clear) clears the termio IUCLC, OLCUC, and XCASE flags; ECHO (if set) sets the termio ECHO flag; ECHO (if clear) clears the termio ECHO flag; NOAL (if set) sets the termio ECHOK flag; NOAL (if clear) clears the termio ECHOK flag; CRMOD (if set) sets the termio ICRNL and ONLCR flags; also, if CR1 is set, the termio CR1 flag is set, and if CR2 is set, the termio ONOCR and CR2 flags are set; CRMOD (if clear) sets the termio ONLRET flag; also, if NL1 is set, the termio CR1 flag is set, and if NL2 is set, the termio CR2 flag is set; RAW (if set) sets the termio CS8 flag, and clears the termio ICRNL and IUCLC flags; also, default values of 6 characters and 0.1 seconds are assigned to MIN and TIME, respectively; RAW (if clear) sets the termio BRKINT, IGNPAR, ISTRIP, IXON, IXANY, OPOST, CS7, PARENB, ICANON, and ISIG flags; also, the default values control-D and null are assigned to the control characters EOF and EOL, respectively; ODDP (if set) if EVENP is also set, clears the termio INPCK flag; otherwise, sets the termio PARODD flag; VTDELAY (if set) sets the termio FFDLY flag; VTDELAY (if clear) clears the termio FFDLY flag; BSDELAY (if set) sets the termio BSDLY flag; BSDELAY (if clear) clears the termio BSDLY flag. In addition, the CREAD bit is set, and, if the baud rate is 110, the CSTOPB bit is set. When using the ispeed entry in the structure is mapped into the appropriate speed in the CBAUD field. The erase and kill entries are mapped into the erase and kill characters. When the (ioctl command is executed, the command is first executed. The resulting structure is then mapped into the structure, which is then returned to the user. The following table shows how the flags are mapped into the old structure. Note that all flags contained in the structure that are not mentioned below are cleared. HUPCL (if set) sets the sgttyb HUPCL flag; HUPCL (if clear) clears the sgttyb HUPCL flag; ICANON (if set) sets the sgttyb RAW flag; ICANON (if clear) clears the sgttyb RAW flag; XCASE (if set) sets the sgttyb LCASE flag; XCASE (if clear) clears the sgttyb LCASE flag; ECHO (if set) sets the sgttyb ECHO flag; ECHO (if clear) clears the sgttyb ECHO flag; ECHOK (if set) sets the sgttyb NOAL flag; ECHOK (if clear) clears the sgttyb NOAL flag; PARODD (if set) sets the sgttyb ODDP flag; PARODD (if clear) clears the sgttyb ODDP flag; INPCK (if set) sets the sgttyb EVENP flag; PARODD, INPCK (if both clear) sets the sgttyb ODDP and EVENP flags; ONLCR (if set) sets the sgttyb CRMOD flag; also, if CR1 is set, the sgttyb CR1 flag is set, and if CR2 is set, the sgttyb CR2 flag is set; ONLCR (if clear) if CR1 is set, the sgttyb NL1 flag is set, and if CR2 is set, the sgttyb NL2 flag is set; TAB3 (if set) sets the sgttyb XTABS flag; TAB3 (if clear) clears the sgttyb XTABS flag; TAB1 (if set) sets the sgttyb TBDELAY flag; TAB1 (if clear) clears the sgttyb TBDELAY flag; FFDLY (if set) sets the sgttyb VTDELAY flag; FFDLY (if clear) clears the sgttyb VTDELAY flag; BSDLY (if set) sets the sgttyb BSDELAY flag; BSDLY (if clear) clears the sgttyb BSDELAY flag. When using the CBAUD field is mapped into the ispeed and ospeed entries of the structure. Also, the erase and kill characters are mapped into the erase and kill entries. Note that, since there is not a one-to-one mapping between the and structures, unexpected results may occur when using the older and calls. Thus, the and calls should be replaced in all future code by the current equivalents, and respectively. WARNINGS
These facilities are included to aid in conversion of old programs, and should not be used in new code. Use the interface described in Note that these conversions do work for programs ported from UNIX Time-Sharing System, Seventh Edition (Version 7), because some V7 flags are defined differently. SEE ALSO
stty(2), termio(7). sttyv6(7)
All times are GMT -4. The time now is 10:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy