- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- strange ps -ef
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2003 08:23 AM
10-20-2003 08:23 AM
strange ps -ef
but still ps shows like this (no user name)
$ ps -f
UID PID PPID C STIME TTY TIME COMMAND
5029 29396 29395 1 16:19:29 pts/tj 0:00 -ksh
5029 29520 29396 4 16:22:37 pts/tj 0:00 ps -f
0 29395 879 0 16:19:29 pts/tj 0:00 telnetd
$
someone show me some light
TIA
vijay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2003 08:24 AM
10-20-2003 08:24 AM
Re: strange ps -ef
but now it is fine
what else then?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2003 08:38 AM
10-20-2003 08:38 AM
Re: strange ps -ef
# check_patches
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2003 02:10 PM
10-20-2003 02:10 PM
Re: strange ps -ef
grep 5029 /etc/passwd
If nothing comes back, then the user was deleted. NOTE: it is quite possible to have processes running for a user that does not exist in /etc/passwd. After all, all the files owned by this user still have the UID (try ls -l on the user's HOME directory) stored in the inode. It's just the decoding of UID into a friendly username that is failing.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2003 03:13 PM
10-20-2003 03:13 PM
Re: strange ps -ef
i tried both options already. but no success. I am doubting /var/adm/ps-data file. On that day, /var was full and 0 blocks.
We solved the issue by rebooting(obviously, standard solution!). but i wonder why this happens. what is the reason behind this? whu user name is not showing up after /var is freed up?
any experts?
TIA
Vijay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2003 06:25 PM
10-20-2003 06:25 PM
Re: strange ps -ef
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2003 08:40 PM
10-20-2003 08:40 PM
Re: strange ps -ef
I played with my ps_data file and I corrupted it manually. After that I got some strange results like :
/var/adm> ps -ef
ps: not enough memory for tables
I removed it and ps worked correctly after recreation ... Your full /var perhaps also corrupted yours.
Best regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2003 02:43 AM
10-21-2003 02:43 AM
Re: strange ps -ef
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2003 09:15 AM
10-21-2003 09:15 AM
Re: strange ps -ef
I kind of duplicated this on my test box by
doing the following:
1. mv ps_data ps_data.rl
2. head ps_data.rl > ps_data
3. ps -fe
ps: not enough memory for tables
4. rm ps_data
5 ps -fe #every thing works.
6. diff ps_data ps_data.rl #no difference
I think you might have been able to fix the problem by deleting ps_data and running ps
It recreated an exact duplicate of the old ps_data
Rory