This is something I through together once when I had to do something similar. (Actually at the time it was a one liner, but I'm really bored at the moment, so I played around)
I'm pretty certain the switches on top could be done better, but honestly, I'm not very good at this kind of thing.
Hi,
We have HP-UX 11.23 and i want to use glance utility to monitor the memory usuage. Can someone tell me how to sort by memory usuage in glance utility?
Thx (1 Reply)
Hello all,
I would be happy if any one could help me with a shell script that would determine all the processes running on a Unix server and post a mail if any of the process is not running or aborted.
Thanks in advance
Regards,
pradeep kulkarni.
:mad: (13 Replies)
Hi all,
When you monitor the CPU and memory usage, how often do you do it ? Do it too often or too rarely will both cause the problem. So does anyone have hand-on experience ?
And for my case, the requirement says that when CPU usage is above X% or memory usage is above Y%, I should reject... (5 Replies)
hi frnds,
I want to monitor a particular process very closly on how much memory it is taking. i tried with TOP and PRSTAT commands that is not giving what exactly i need. In my application, there is a memory leak happening, i want to know when it is occuering, means which transcation is... (9 Replies)
get email notification from from system when a process from XXXX user takes longer than 15 min run.Let me know the time estimation for the same.
hi ,any one please tell me , how to write a script to get email notification from system when a process from as mentioned above a xxxx user takes... (1 Reply)
hi guys
I am having a doubt about memory monitoring on linux system
what I should be monitoring? memory usage? o swap usage?
I am using some monitoring tools but I am confused to what monitor for alerting
for example this case
looks the memory usage is very high and it's like that all... (2 Replies)
Hello.
I am using AIX 6 and did lot of searches on google for this script and found so many results. Just thought to ask you being the real good place for centralised answer:
a) Could you tell me the aix script, which may tell me If the CPU load is above e.g. 60% ?
b) Could you tell me the AIX... (2 Replies)
Hi Experts,
Our servers running Solaris 10 with SAP Application. The memory utilization always >90%, but the process on SAP is too less even nothing.
Why memory utilization on solaris always looks high?
I have statement about memory on solaris, is this true:
Memory in solaris is used for... (4 Replies)
I wanted to know what is the best way to monitor use of memory on an RHEL server. We have 16 GB of memory for the RHEL instance but the usage at any time is more than 99%. I use /proc/meminfo on the server to check memory.
I hope, my question is clear that what is the best way to monitor use of... (2 Replies)
Discussion started by: RHCE
2 Replies
LEARN ABOUT CENTOS
afgetdataoffset
AFGETFRAMECOUNT(3)AFGETFRAMECOUNT(3)NAME
afGetFrameCount, afGetTrackBytes, afGetDataOffset - get the total sample frame count, length of audio track in bytes, offset of the audio
track for a track in an audio file
SYNOPSIS
#include <audiofile.h>
AFframecount afGetFrameCount (AFfilehandle file, int track);
AFfileoffset afGetTrackBytes (AFfilehandle file, int track);
AFfileoffset afGetDataOffset (AFfilehandle file, int track);
PARAMETERS
file is an audio file handle created by a previous call to afOpenFile(3).
track is an integer which specifies an audio track within file. All supported file formats contain exactly one audio track per file, so the
constant AF_DEFAULT_TRACK should always be used.
DESCRIPTION
afGetFrameCount returns the total number of sample frames contained within the specified track of the specified file.
Each sample frame of audio consists of a fixed number of samples (equal to the number of audio channels in the track. For monaural data, a
sample frame consists of one audio sample. For stereophonic data, a sample frame consists of a stereo pair.
afGetTrackBytes returns the total number of bytes of raw audio data (i.e., prior to decompression or conversion) in the track.
afGetDataOffset returns the offset in bytes of the start of the audio data contained within the specified track of the specified file.
RETURN VALUE
afGetFrameCount returns the total number of sample frames in track.
afGetTrackBytes returns the total number of bytes of audio data in track.
afGetDataOffset returns the offset in bytes to the beginning of the audio data in track.
Each of these routines returns -1 in case of error.
AUTHOR
Michael Pruett <michael@68k.org>
Audio File Library 0.3.6 03/06/2013 AFGETFRAMECOUNT(3)