11-30-2009
Commands to monitor other user's activity
What commands would you recommend in order to monitor things like when a user logs on to a server, assuming you know that user's name on the server?
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I have been asked if it is possible to track the last time a specific user logged in to the sysetm.
checked my documentation but can't see it there - google is not being very helpful either.
I wonder if someone here can help - it will be much appreciated.
Thanks
Suresh (1 Reply)
Discussion started by: sureshy
1 Replies
2. SCO
:D Hi, I'm searching for a command or commands to see the user and programs activity and who much resources is in use. In Unix I remember a TOP command but in SCO I'm don't find a similar. My system is a UNIX SCO 5.6 Thank's (1 Reply)
Discussion started by: DigitalExecutiv
1 Replies
3. UNIX for Dummies Questions & Answers
Hello,
Does any one knows any tools or method to monitor users all activities on Solaris 8, including command and its result. Similar to 'script' ???
Thanks
nana (3 Replies)
Discussion started by: nana
3 Replies
4. Shell Programming and Scripting
I need to monitor system activity (RAM, CPU usage, execution time)
while running some tests on solaris, linux and aix and save the output.
Please advise whether there's a utility available for these systems?
How can time the execution of the command?
Thanks! (2 Replies)
Discussion started by: smovla
2 Replies
5. Shell Programming and Scripting
Hi there,
I'm looking for some help to get a little script done that shows me (or counts) only the added lines from an SVN repository of one specific user. Anybody has an idea?
Thanks, Michael (0 Replies)
Discussion started by: MichaelGiese
0 Replies
6. Shell Programming and Scripting
Hello - I didn't find this with search, but I'm guessing it's out there somewhere. Apologies for reposting if that's the case.
I'm shell scripting on a 10.5.8 Mac.
I want to make a program that runs in the background and periodically logs computer use, storing things like - cpu usage,... (2 Replies)
Discussion started by: Qroid
2 Replies
7. UNIX for Dummies Questions & Answers
hi guys
My tivoli monitoring tools is reporting the monitor parameters says Pages Paged out is too high 1600 so it is a critical warning (threshold 400)
now according to them this usually happens at dawn so is there a way to monitor this? during the time I am not working?
ans something... (1 Reply)
Discussion started by: karlochacon
1 Replies
8. UNIX for Advanced & Expert Users
Hi All
We have a job which writes files to a server at a particular time. The files will be created by a particular user ID
Today, during the execution of the job, it created a file to the server and the file sat on the server for sometime, but was deleted immediately at the end of the... (4 Replies)
Discussion started by: sparks
4 Replies
LEARN ABOUT SUNOS
asadmin-get
asadmin-get(1AS) User Commands asadmin-get(1AS)
NAME
asadmin-get, get - gets the values of the monitorable or configurable attributes
SYNOPSIS
get --user admin_user [--password admin_password] [--host localhost] [--port 4848] [--secure|-s] [--passwordfile filename] [--terse=false]
[--echo=false] [--interactive=true] [--monitor=false] dotted_attribute_name
Gets the values of attributes. If the --monitor option is set to true, the monitorable attributes are returned. If the --monitor option is
set to false, the configurable attribute values are returned. On Solaris, quotes are needed when executing commands with * as the option
value or operand.
OPTIONS
--user authorized domain application server administrative username.
--password password to administer the domain application server.
--host machine name where the domain application server is running.
--port port number of the domain application server listening for administration requests.
--secure if true, uses SSL/TLS to communicate with the domain application server.
--passwordfile file containing the domain application server password.
--terse indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well-
formatted data for consumption by a script. Default is false.
--echo setting to true will echo the command line statement on the standard output. Default is false.
--interactive if set to true (default), only the required password options are prompted.
--monitor defaults to false; if set to false, the configurable attribute values are returned. If set to true, the monitorable
attribute values are returned.
OPERANDS
attributename attribute name in the dotted notation.
Example 1: Using get
asadmin> get --user admin --password adminadmin --host localhost --port 4848
"server.resources.jdbc-resource.jdbc/PointBase.*"
server.resources.jdbc-resource.jdbc/PointBase.description=<null>
server.resources.jdbc-resource.jdbc/PointBase.enabled=true
server.resources.jdbc-resource.jdbc/PointBase.jndi-name=jdbc/PointBase
server.resources.jdbc-resource.jdbc/PointBase.object-type=user
server.resources.jdbc-resource.jdbc/PointBase.pool-name=PointBasePool
EXIT STATUS
0 command executed successfully
1 error in executing the command
asadmin-set(1AS), asadmin-list(1AS)
J2EE 1.4 SDK March 2004 asadmin-get(1AS)