09-26-2007
Problem in CPU usage
Hi all,
I have C++ program that is running on linux on an ARM processor. The program is sending voice to a specific ip. When i started the program, 2 threads are running and sending voice over ip. Each of the threads are at %0.2 CPU usage which is very normal. My problem is, CPU usage is increasing hour by hour. After 10 hours it becomes %45 CPU usage for each of the threads which is very high. Because of this, the voice in both threads slows down, too. If i close both threads, and start new ones without closing the program, they start from beginning at %0.2 CPU usage. Why could it be? Where should i look?
Thanks.
Gokay
Last edited by gokaytos; 09-26-2007 at 05:38 PM..
Reason: Spelling Correction
10 More Discussions You Might Find Interesting
1. Programming
how can i monitor usages of CPU, Memory, Hard disk etc. under SUN Solaries
through a c program or java program
i want to store that data into database so i can show it graphically
thanks in advance (2 Replies)
Discussion started by: Gajanad Bihani
2 Replies
2. Shell Programming and Scripting
For analysis, I need to gather CPU usage from say 1:00 PM to 2:00 PM every 10 seconds on a given day. I heard this can be done with awk, but my UNIX is kind of rusty. (4 Replies)
Discussion started by: WG1
4 Replies
3. Programming
Please tell me solaris functions/api for getting following information
1- Function that tells how much memory used by current process
2- Function that tells how much memory used by all running processes
3- Function that tells how much CPU is used by current process
4- Function that tells how... (1 Reply)
Discussion started by: mansoorulhaq
1 Replies
4. HP-UX
how can I find cpu usage memory usage swap usage and
I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times
my final destination is monitor process
logical volume usage above X % and number of Logical voluage above
can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies
5. Solaris
Hi,
I want to monitor the current cpu usage, monitor usage , disk I/o and network utlization for solaris using SNMP.
I want the oids for above tasks.
can you please tell me that
Thank you (2 Replies)
Discussion started by: S_venkatesh
2 Replies
6. Solaris
Hello Friends,
On one of my Solaris 10 box, CPU usage shows 100% using "sar", "vmstat". However, it has 4 CPUs and prstat and glance are not showing enough processes to justify high CPU utilization.
=========================================================================
$ prstat -a
... (4 Replies)
Discussion started by: mahive
4 Replies
7. AIX
How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies
8. Programming
Hi all,
I'm using python and psutil a library to get system informations like cpu usage (percent) for a given process.
My question is if I have the value in % of the cpu usage how I could get the cpu usage in cycle number I mean not in percent?
Thanks a lot
D. (5 Replies)
Discussion started by: Dedalus
5 Replies
9. AIX
Hi Guys,
I am a newbie on the forum. This is my first post, so first of all I would like to introduce myself.
I am a SAS Analyst programmer working for an Health Insurance client. SAS is installed on a 16 CPU AIX Server with partitions running with shared processor. I have couple of... (2 Replies)
Discussion started by: saurabhiim2003
2 Replies
10. AIX
Hi all,
I am currently having trouble to get nmon to print me the actual CPU usage for an interval for a process.
According to the manual, something like
# time nmon -t -C cron -s 5 -c 2 -F outfile
real 0m0.98s
user 0m0.03s
sys 0m0.04s
should print out at least the process... (15 Replies)
Discussion started by: zaxxon
15 Replies
LEARN ABOUT NETBSD
isdntel
ISDNTEL(8) BSD System Manager's Manual ISDNTEL(8)
NAME
isdntel -- isdn4bsd telephone answering management utility
SYNOPSIS
isdntel [-a aliasfile] [-d spooldir] [-p playcommand] [-t timeout]
DESCRIPTION
isdntel is used to provide an ``answering machine'' functionality for incoming telephone voice messages.
The following options are supported:
-a Use aliasfile as the pathname for an aliasfile containing aliases for phone numbers. The default path is /etc/isdn/isdntel.alias.
The format of an alias entry is the number string followed by one or more spaces or tabs. The rest of the line is taken as the alias
string. Comments are introduced by a leading blank, tab or ``#'' character.
-d Use spooldir as the directory where the incoming voice messages are stored by the ``answ'' script called by isdnd(8). This defaults
to the directory /var/isdn. The format of a voice message filename is:
YYMMDDhhmmss-dest_number-source_number-length_in_secs
-p Use playcommand as the command string to execute for playing a voice message to some audio output facility. The characters %s are
replaced by the currently selected filename. The default string is cat %s | alaw2ulaw >/dev/audio
-t The value for timeout specifies the time in seconds the program rereads the spool directory when there is no keyboard activity.
The screen output should be obvious. If in doubt, consult the source.
SEE ALSO
isdntel(4), isdnd.rc(5), isdnd(8)
AUTHORS
The isdntel utility and this manual page were written by Hellmuth Michaelis <hm@kts.org>.
BSD
July 11, 1998 BSD