niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » Linux » Distributions » Debian
process accounting
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
Author Message
Justin Pryzby
*nix forums beginner


Joined: 14 Mar 2005
Posts: 23

PostPosted: Sun Feb 06, 2005 4:40 am    Post subject: process accounting Reply with quote

Does anyone know why process accounting seems to be completely broken?

I have acct installed, (as well as sac), and I just moved
/var/account/pacct out of the way and touch,chown,chmod a new one. I
restarted acct (/etc/init.d/acct restart). The kernel apparently
wrote some new information to that file, but it still isn't useful:

$ sa -u
34826 0.00 cpu 0k mem 2385 io D
34826 0.00 cpu 0k mem 49 io �
*cpu 0k mem 49 io h
*cpu 0k mem 49 io h

I assume that that's supposed to be the process name and not an
unprintable character.

strings /var/account/pacct shows all sorts of process names, none of
which I've ever seen with sa.

rawtmp shows some actually information, including usernames,
hostnames, times, pts numbers and PIDs, but I guess thats just using
wtmp and not pacct.

dumpacct shows seemingly random times from 1969..

Thanks, and Please Cc me,
Justin


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Back to top
Justin Pryzby
*nix forums beginner


Joined: 14 Mar 2005
Posts: 23

PostPosted: Sun Feb 06, 2005 4:40 am    Post subject: Re: process accounting Reply with quote

Nevermind; Linux 2.6 has "version 3" process accounting, which I have
enabled. It requires updated tools to grok that information, which
Debian apparently does not support (yet). There's a URL for
updated/rewritten packages, and a wishlist bug for v3 support:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=289648

Justin

On Sun, Feb 06, 2005 at 12:12:04AM -0500, pryzbyj wrote:
Quote:
Does anyone know why process accounting seems to be completely broken?

I have acct installed, (as well as sac), and I just moved
/var/account/pacct out of the way and touch,chown,chmod a new one. I
restarted acct (/etc/init.d/acct restart). The kernel apparently
wrote some new information to that file, but it still isn't useful:

$ sa -u
34826 0.00 cpu 0k mem 2385 io D
34826 0.00 cpu 0k mem 49 io �
*cpu 0k mem 49 io h
*cpu 0k mem 49 io h

I assume that that's supposed to be the process name and not an
unprintable character.

strings /var/account/pacct shows all sorts of process names, none of
which I've ever seen with sa.

rawtmp shows some actually information, including usernames,
hostnames, times, pts numbers and PIDs, but I guess thats just using
wtmp and not pacct.

dumpacct shows seemingly random times from 1969..

Thanks, and Please Cc me,
Justin

--
Justin Pryzby
Now seeking qualified employers.

References

[0]


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
The time now is Fri Jan 09, 2009 12:09 pm | All times are GMT
navigation Forum index » *nix » Linux » Distributions » Debian
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts ssh not exiting because of spawned process Old Wolf Solaris 1 Fri Jul 21, 2006 12:54 am
No new posts Help! Shared memory is getting deleted after process is k... Anuradha apps 3 Thu Jul 20, 2006 8:42 am
No new posts large enterprise accounting package available? Tshepang Lekhonkhobe Debian 2 Wed Jul 19, 2006 1:30 pm
No new posts High paging usage on database process mychrislo@gmail.com AIX 0 Wed Jul 19, 2006 9:59 am
No new posts process taking long time to dump core techimadhu C 4 Wed Jul 19, 2006 6:52 am

Biker shirts shop | Loans | Internet Advertising | Debt Consolidation | Web Advertising
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1545s ][ Queries: 16 (0.0808s) ][ GZIP on - Debug on ]