Sponsored Content
Full Discussion: Unix administration commands
Top Forums UNIX for Advanced & Expert Users Unix administration commands Post 302591112 by craigp84 on Wednesday 18th of January 2012 02:29:19 PM
Old 01-18-2012
Hi, you could enable the accounting subsystem, have a look at the acct(2) and accton manages.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

freeBSD Unix Administration...

Hello there ! I am little bit confuse about freeBSD and Sun Solaris, Susue, Mandrake. Is freeBSD is same like Sun Solaris ? i mean if i will have freeBSD software, i can administrator same like i am administring Unix O.S ? I want to be Unix Administrator, so if i will install freeBSD and... (3 Replies)
Discussion started by: abidmalik
3 Replies

2. Solaris

Unix Administration doubts ********

Hi, Can anyone tell me the correct answers for these: 1. You have 4 instances running on the same UNIX box. How can you determine which shared memory and semaphores are associated with which instance? 2. How do you increase the OS limitation for open files (LINUX and/or Solaris)? Thanks:p (1 Reply)
Discussion started by: dreams5617
1 Replies

3. UNIX for Dummies Questions & Answers

What are people using for Centralized Unix Administration

What are people using for Centralized Unix Administration? I'm not just talking user administration, I'm also talking system administration. I prefer a customized SSH enivonment that allows me to connect to server after server quickly to perform multiple tasks at once. I know there are products... (0 Replies)
Discussion started by: x96riley3
0 Replies

4. UNIX for Dummies Questions & Answers

Information about Unix System Administration

I'm a newbie so I'm not sure if I'm posting this in the right section... if I didn't, please forgive me :) I've been looking all over the web for information on system administration. I'd like to become a Unix System Administrator but I want to find some more info about the job. Can someone please... (54 Replies)
Discussion started by: hpicracing
54 Replies

5. UNIX for Dummies Questions & Answers

How does unix system administration, unix programming, unix network programming differ?

How does unix system administration, unix programming, unix network programming differ? Please help. (0 Replies)
Discussion started by: thulasidharan2k
0 Replies

6. UNIX for Dummies Questions & Answers

What are the career options in unix apart from unix system administration?

What are the career options in unix apart from unix system administration? (2 Replies)
Discussion started by: thulasidharan2k
2 Replies

7. Solaris

what is the use of /etc/project file and project administration commands?

i have two doubts.. 1. what is the use /etc/project file. i renamed this file and when i tried to switch user or login with some user account the login was happening slowly. but when i renamed it to original name it was working fine... why so? 2. unix already has useradd and grouadd for... (4 Replies)
Discussion started by: chidori
4 Replies

8. What is on Your Mind?

Move From Unix Administration to Development???

Hi Guys, I am into unix administration past few years, i am interested in development, Purely from the Job Market View, should i shift from administration and move to development, will it reduce the options i have (i mean not many companies are into development) Suggestions/Opinions ??? (4 Replies)
Discussion started by: mpdevul
4 Replies

9. What is on Your Mind?

Just getting started with UNIX programming and administration

Hi everyone, I am new to this forum and this is my very first post, one i think i will look back at many years from now and have nothing to regret about. This is simply because i recently installed Linux (Ubuntu) on my system and downloaded a book titled, The Unix Programming Environment. I... (7 Replies)
Discussion started by: despiragado
7 Replies
ACCT(2) 						      BSD System Calls Manual							   ACCT(2)

NAME
acct -- enable or disable process accounting LIBRARY
Standard C Library (libc, -lc) SYNOPSIS
#include <unistd.h> int acct(const char *file); DESCRIPTION
The acct() system call enables or disables the collection of system accounting records. If the argument file is a null pointer, accounting is disabled. If file is an existing pathname (null-terminated), record collection is enabled and for every process initiated which termi- nates under normal conditions an accounting record is appended to file. Abnormal conditions of termination are reboots or other fatal system problems. Records for processes which never terminate cannot be produced by acct(). For more information on the record structure used by acct(), see <sys/acct.h> and acct(5). This call is permitted only to the super-user. NOTES
Accounting is automatically disabled when the file system the accounting file resides on runs out of space; it is enabled when space once again becomes available. The values controlling this behaviour can be modified using the following sysctl(8) variables: kern.acct_chkfreq Specifies the frequency (in seconds) with which free disk space should be checked. kern.acct_resume The percentage of free disk space above which process accounting will resume. kern.acct_suspend The percentage of free disk space below which process accounting will suspend. RETURN VALUES
On error -1 is returned. The file must exist and the call may be exercised only by the super-user. ERRORS
The acct() system call will fail if one of the following is true: [EPERM] The caller is not the super-user. [ENOTDIR] A component of the path prefix is not a directory. [ENAMETOOLONG] A component of a pathname exceeded 255 characters, or an entire path name exceeded 1023 characters. [ENOENT] The named file does not exist. [EACCES] Search permission is denied for a component of the path prefix, or the path name is not a regular file. [ELOOP] Too many symbolic links were encountered in translating the pathname. [EROFS] The named file resides on a read-only file system. [EFAULT] The file argument points outside the process's allocated address space. [EIO] An I/O error occurred while reading from or writing to the file system. SEE ALSO
acct(5), accton(8), sa(8) HISTORY
The acct() function appeared in Version 7 AT&T UNIX. BSD
April 17, 2004 BSD
All times are GMT -4. The time now is 05:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy