11-30-2015
hello peasant,
thanks for the advice
am going to install this and play with it.
regards,
coolatt
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
I am seeing very high kernel usage and very high load averages on my system (Although we are not loading much data to our database). Here is the output of top...does anyone know what i should be looking at?
Thanks,
Lorraine
last pid: 13144; load averages: 22.32, 19.81, 16.78 ... (4 Replies)
Discussion started by: lorrainenineill
4 Replies
2. UNIX for Dummies Questions & Answers
I have a dedicated server running centos. It is "slightly managed" meaning I get a little help if I desperately need it; otherwise on my own.
Many of the programs on this server I've had to write myself (less than optimal code for sure). Others are commercial but some are renowned
resource... (2 Replies)
Discussion started by: blakekr
2 Replies
3. UNIX for Dummies Questions & Answers
Hi There,
I'm trying to find a way to gather resource usage information (CPU, Memory & Virtual Memory) for a single process in a scripted way.
I've looked at vmstat & top but I can't figure out how to use them to get the information for a single process.
can any one help with this?
... (2 Replies)
Discussion started by: Murph
2 Replies
4. Shell Programming and Scripting
I would like to write shell/perl script which identifies the top unix processes that are performing high disk I/O's or/and writes
If any one knows the solution please help me?
-Swamy (0 Replies)
Discussion started by: avsswamy
0 Replies
5. UNIX for Advanced & Expert Users
Guys,
Is there any UNIX command that captures the 'Unix process which is performing high disk I/O reads and writes'.
can you help me in this?
-Swamy (6 Replies)
Discussion started by: avsswamy
6 Replies
6. UNIX for Dummies Questions & Answers
Hi. First of all, would 4 or 5 websites, 1 ftp server (when downloading by someone or a few persons or one, concretize) and one mail server (not many emails, just to sound official and have a nice, spam-free email for myself). Websites with not that many, but some, later more visitors, quite... (0 Replies)
Discussion started by: newn
0 Replies
7. AIX
Hi Guys,
I need to write a script capable of identifying when a high cpu utilitzation process. It sounds simple but we are on a AIX 5.3 environment with Virtual CPU's (VP's) and logical CPU's. Please any ideas or tips would be highly appreciated. Thanks.
Harby. (6 Replies)
Discussion started by: arizah
6 Replies
8. UNIX for Advanced & Expert Users
Hi all,
I have a solaris box, and I would like to know if anyone has commands to check kernel usage's.
Scenario:
solaris box is having cpu 100 % issue. .
I have used sar -u 10 5 it shows 35 % kernel usage.
If you can guide with some docs that would be good..
waiting for... (1 Reply)
Discussion started by: SunSolars_admin
1 Replies
9. UNIX for Advanced & Expert Users
Hello I am trying to identify what is consuming my I/O (looks 100% in glance).
Howver on my system HP-UX 104 B.11.11 U 9000/800
The only option in iostat seems to be -t which is not very usefull
iostat -p is not available.
Please advice on how I should proceed.
Thank you in advance. (3 Replies)
Discussion started by: drbiloukos
3 Replies
10. Infrastructure Monitoring
I need to record min and max resources for RAM, & CPU for each command's execution in a shell script. Maybe going in details I would also be interested to capture plots with resource usage i.e.start to end of individual command with respect to time in a shell script.
Please share ideas. (0 Replies)
Discussion started by: vaibhavvsk
0 Replies
LEARN ABOUT OPENSOLARIS
posix_madvise
posix_madvise(3C) Standard C Library Functions posix_madvise(3C)
NAME
posix_madvise - memory advisory information
SYNOPSIS
#include <sys/mman.h>
int posix_madvise(void *addr, size_t len, int advice);
DESCRIPTION
The posix_madvise() function advises the system on the expected behavior of the application with respect to the data in the memory starting
at address addr, and continuing for len bytes. The system may use this information to optimize handling of the specified data. The
posix_madvise() function has no effect on the semantics of access to memory in the specified range, although it may affect the performance
of access.
The advice to be applied to the memory range is specified by the advice parameter and may be one of the following values:
POSIX_MADV_NORMAL Specifies that the application has no advice to give on its behavior with respect to the specified range. It is
the default characteristic if no advice is given for a range of memory.
POSIX_MADV_SEQUENTIAL Specifies that the application expects to access the specified range sequentially from lower addresses to higher
addresses.
POSIX_MADV_RANDOM Specifies that the application expects to access the specified range in a random order.
POSIX_MADV_WILLNEED Specifies that the application expects to access the specified range in the near future.
POSIX_MADV_DONTNEED Specifies that the application expects that it will not access the specified range in the near future.
These values are defined in <sys/mman.h>
RETURN VALUES
Upon successful completion, posix_madvise() returns zero. Otherwise, an error number is returned to indicate the error.
ERRORS
The posix_madvise() function will fail if:
EINVAL The value of advice is invalid.
ENOMEM Addresses in the range starting at addr and continuing for len bytes are partly or completely outside the range allowed for the
address space of the calling process.
The posix_madvise() function may fail if:
EINVAL The value of len is zero.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Committed |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
|Standard |See standards(5). |
+-----------------------------+-----------------------------+
SEE ALSO
mmap(2), madvise(3C), posix_madvise(3C), attributes(5), standards(5)
SunOS 5.11 14 Jul 2008 posix_madvise(3C)