I noticed that who missed my terminals, so I went to counting tty's:
Collect the data maybe put it in an RDBMS, as you can expect they will want to know when/what is the low, what is the trend, ....
I want a one liner perl command to find a directory only if the modified time is within the last hour
I am running this on windows - and I will define a variable for the result.
So for example I want to return value of 1 for the variable if the modified time of d:\test1 is within the last... (0 Replies)
Folks,
I need to find out from the system logs ( or elsewhere ) if the CPU utilization reached say 90% an hour ago from now.
Is there a way out. (2 Replies)
trying to find a way to locate files modified in the last hour in a shell script, unfortunately the command 'find . -mmin -60' is not supported on SunOS 5.10 (works on OpenSolaris 5.11 :mad:)
Does anyone know a method of doing this in shell script on 5.10?
cheers (19 Replies)
HP Unix Version: HP-UX B.11.31 U ia64
Question
I look for script or command to find files which are older than one hour.
Tried below;
# set the file time to 1 hours ago
touch -t 201307160700 ./touchfile
find /app/grid/product/11.2.0.3/rdbms/audit -name '*.aud' -type f ! -newer... (4 Replies)
Hi Gurus,
I want to find the file created within one hour in solaris.
I have tried below command, but it is no lucky.
$find . -mtime -1/24, -name "abc*"
above command give me the file name which created two hours ago
find . -cmin -60, -name "abc*"
above command I got error as... (4 Replies)
Hi,
Out of a list of files in a directory, I want to find the files which were created/modified more than 1 hour ago. I am using HP -UNIX and it does not support the argument -mmin. Please advise.
I am using # !/bin/sh (4 Replies)
Discussion started by: jhilmil
4 Replies
LEARN ABOUT HPUX
finger
finger(1) General Commands Manual finger(1)NAME
finger - user information lookup program
SYNOPSIS
[options] user_name ...
DESCRIPTION
By default, lists for each user_name on the system:
o Login name,
o Full given name,
o Terminal write status (if write permission is denied),
o Idle time,
o Login time,
o User's home directory and login shell,
o Any plan the user has placed in file in their home directory,
o Project on which they are working from the file also in the home directory,
o office location and phone number (if known),
o last time the user received the mail, and last time the user read the mail.
Idle time is in minutes if listed as a single integer, hours and minutes if a is present, or days and hours if a is present. Account names
as well as first and last names of users are accepted.
can also be used to list users on a remote machine. The format for user_name is user_name@host. If user_name is not specified, the remote
system (HP-UX or non-HP-UX) uses its default standard format for listing user information.
Options
recognizes the following options:
Suppress printing the user's home directory and shell.
Suppress printing the header that is normally printed
in a short-format printout.
Suppress printing the
file in a long-format printout.
Force ``idle'' output format.
Similar to short format except that only the login name, terminal, login time, and idle time are printed.
Force long output format.
Match arguments only on user name.
Suppress printing of the
files
Force quick output format.
Similar to short format except that only the login name, terminal, and login time are printed.
Print the user's host name.
Force short output format.
Suppress printing the full name in a short-format printout.
WARNINGS
Only the first line of the file is printed.
AUTHOR
was developed by the University of California, Berkeley.
FILES
who file
last login file
for users names, offices, ...
plans
projects
mail directory
SEE ALSO chfn(1), who(1), utmpd(1M).
finger(1)