09-27-2010
Stale users and no process
HP-UX B.11.23 U ia64
I've got two users that show in "w" with long idle times but if I search for their processes I find nothing (ps -ef | grep username )
I'm not sure why "w" still sees them and if there is anything (short of a reboot) that I can do to clean them out.
Ideas?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have customers on our AIX/UNIX node startup a process that becomes stranded or orphaned and must be killed. I would like to create a script to check for these orphan processes and kill them. I can have cron run this job. The customers process will run and after 24 hours time out leaving an... (4 Replies)
Discussion started by: rjohnson
4 Replies
2. Shell Programming and Scripting
Hi,
Can I kill process submitted by another uesr (say user1) if I'm not the su. If I got some previledges granted from user1, can I kill user1's process? Please advise? Thank you very much!
Regards,
Tse (4 Replies)
Discussion started by: tsesukfan
4 Replies
3. UNIX for Dummies Questions & Answers
Is there an easy way to find all stale mounts on a system? (2 Replies)
Discussion started by: derf912
2 Replies
4. UNIX for Dummies Questions & Answers
hi, i was trying to mirror root volume group and the command i was using didnt respond for a long time
mirrorvg -m rootvg hdisk1
I was checking rootvg and it gives below. how do i fix stale partitions?? it seems to be on hdisk1
LV NAME TYPE LPs PPs PVs LV STATE ... (2 Replies)
Discussion started by: karthikosu
2 Replies
5. UNIX and Linux Applications
There are a filesystem /GWD/appbase/projects/GRIDDB
Under this filesystem there is a directory called backup.
But When I am trying to access the backup directory ,it is showing me the following error:
# cd /GWD/appbase/projects/GRIDDB
# cd backup
-bash: cd: backup: Stale NFS file handle
... (3 Replies)
Discussion started by: alphasahoo
3 Replies
6. AIX
my AIX server used to have scsi disk hdisk4. Now i removed that disk. But still it is still listed in lspv. So how can i remove the stale entry of it ? (6 Replies)
Discussion started by: navadeep
6 Replies
7. Shell Programming and Scripting
Hi all,
This is my first post.
I am new to unix scripting.
My requirement is as follows :
We are using a financial backoffice application.
Now at the end of day we have send users a status report stating all timings of EOD processes for all countries.
I need timings for following... (0 Replies)
Discussion started by: ammbhhar
0 Replies
8. HP-UX
Hello,
I have an ancient HP-UX 11.11 system where I have a logical volume marked stale and I can't get it sync'd. I have tried lvsync and lvreduce/lvextend to no avail. It is just one 4Mb PE on the disk that I can't get current.
# lvdisplay -v /dev/vg00/lvol5 | grep stale
LV Status ... (17 Replies)
Discussion started by: port43
17 Replies
9. AIX
Hi friends,
the paging lv hd6 is in stale condition
hd6 paging 48 96 2 open/stale N/A
And i'am getting the following alerts in the server 333BD283 0811044814 U S LVDD Bad block detected with no relocation al
333BD283 0811041114 U S LVDD ... (1 Reply)
Discussion started by: Mohamed Thamim
1 Replies
10. AIX
Hi everybody,
I have a little problem with my AIX 6.1, PowerHA 6.1 LVM mirror. After problem with SAN pathing of our one Datacenter, I have LV at stale state.
# lsvg cpsdata2vg
VOLUME GROUP: cpsdata2vg VG IDENTIFIER: 00fb518c00004c0000000169445f4c2c
VG STATE: ... (6 Replies)
Discussion started by: Necronomic
6 Replies
LAST(1) General Commands Manual LAST(1)
NAME
last - indicate last logins of users and teletypes
SYNOPSIS
last [ -f filename ] [ -N ] [ name ... ] [ tty ... ]
DESCRIPTION
Last will look back in the wtmp file which records all logins and logouts for information about a user, a teletype or any group of users
and teletypes. Arguments specify names of users or teletypes of interest. Names of teletypes may be given fully or abbreviated. For
example `last 0' is the same as `last tty0'. If multiple arguments are given, the information which applies to any of the arguments is
printed. For example `last root console' would list all of "root's" sessions as well as all sessions on the console terminal. Last will
print the sessions of the specified users and teletypes, most recent first, indicating the times at which the session began, the duration
of the session, and the teletype which the session took place on. If the session is still continuing or was cut short by a reboot, last so
indicates.
The pseudo-user reboot logs in at reboots of the system, thus
last reboot
will give an indication of mean time between reboot.
Last with no arguments prints a record of all logins and logouts, in reverse order. The -f filename option allows the user to examine an
alternate wtmp file. The -N option limits the report to N lines.
If last is interrupted, it indicates how far the search has progressed in wtmp. If interrupted with a quit signal (generated by a con-
trol-) last indicates how far the search has progressed so far, and the search continues.
FILES
/usr/adm/wtmp login data base
/usr/adm/shutdownlog which records shutdowns and reasons for same
SEE ALSO
wtmp(5), ac(8), lastcomm(1)
AUTHOR
Howard Katseff
4th Berkeley Distribution April 29, 1985 LAST(1)