Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

filemon shows user most active

Status
Not open for further replies.

saucyboy

Technical User
Feb 23, 2006
78
US
Hi Guys

I have having issues with my server H90 qith high loads at certain times, I run a filemon at the specified interval and find "user" the most active file (/etc/security/user)

Most Active Files
------------------------------------------------------------------------
#MBs #opns #rds #wrs file volume:inode
------------------------------------------------------------------------
524.8 158 34033 0 user /dev/hd4:36959
58.8 105 228835 0 qconfig.bin /dev/hd4:86017
25.1 1003 5429 0 group /dev/hd4:86034
16.8 2155 4310 0 ksh.cat /dev/hd2:102726
14.1 1568 1835 0 passwd /dev/hd4:86025
9.5 41 2431 0 unix /dev/hd2:131137
3.6 43 940 0 registry /dev/InformixLV:294954
2.8 3 4013 0 kmem
2.3 51 597 0 hosts /dev/hd4:86024
1.8 276 973 0 0333.lco /dev/InformixLV:360564
1.4 178 355 0 methods.cfg /dev/hd2:77859
1.3 1369 391 0 passwd /dev/hd4:36957
1.3 59 324 0 services /dev/hd4:86120
0.6 42 10815 0 dbacc.iem /dev/InformixLV:508183
0.5 132 132 0 awk.cat /dev/hd2:102545
0.4 105 105 0 pid /dev/hd9var:99229
0.4 98 98 0 sqlhosts /dev/InformixLV:163864
0.3 5 25 0 environ /dev/hd4:36983
0.2 5 26 0 limits /dev/hd4:36986
0.2 1 775 0 pid=1607238_fd=3

Has anyone got any ideas why user is most active, i see there are lots of accounts locked true and false

grep "account_locked = false" /etc/security/user | wc -l
1112

grep "account_locked = true" /etc/security/user | wc -l
11596

is there a way of indexing this file , I am unable to remove all locked accounts as the homes areas are still needed (data still exists for processing)

thanx

sb
 
sort the output?

Or could you explain exactly what you're experiencing?

I want to be good, is that not enough?
 
Load is high at certain times , when running uptime in a script to log into a file it shows loads at :

04:15AM up 60 days, 4:45, 19 users, load average: 9.71, 8.08, 6.65
04:16AM up 60 days, 4:46, 19 users, load average: 25.19, 12.56, 8.32
04:17AM up 60 days, 4:47, 19 users, load average: 16.91, 12.55, 8.59
04:18AM up 60 days, 4:48, 19 users, load average: 11.54, 11.75, 8.56
04:19AM up 60 days, 4:49, 19 users, load average: 9.35, 11.05, 8.52
04:20AM up 60 days, 4:50, 19 users, load average: 10.34, 10.90, 8.62
04:21AM up 60 days, 4:51, 19 users, load average: 9.73, 10.62, 8.67
04:22AM up 60 days, 4:52, 19 users, load average: 10.82, 10.73, 8.83
04:23AM up 60 days, 4:53, 19 users, load average: 11.03, 10.79, 8.97
04:24AM up 60 days, 4:54, 19 users, load average: 10.37, 10.70, 9.06
--------------------------------------------------------

05:55AM up 60 days, 6:25, 20 users, load average: 5.39, 8.40, 8.85
05:56AM up 60 days, 6:26, 20 users, load average: 8.27, 8.61, 8.90
05:57AM up 60 days, 6:27, 20 users, load average: 12.55, 9.70, 9.26
05:58AM up 60 days, 6:28, 20 users, load average: 13.08, 10.42, 9.55
05:59AM up 60 days, 6:29, 20 users, load average: 8.06, 9.42, 9.24
06:00AM up 60 days, 6:30, 20 users, load average: 5.94, 8.57, 8.95
06:01AM up 60 days, 6:31, 20 users, load average: 8.01, 8.75, 9.00
06:02AM up 60 days, 6:32, 20 users, load average: 16.83, 10.91, 9.74
06:03AM up 60 days, 6:33, 20 users, load average: 17.34, 12.20, 10.27
06:04AM up 60 days, 6:34, 20 users, load average: 15.32, 12.68, 10.57
06:05AM up 60 days, 6:35, 20 users, load average: 9.60, 11.45, 10.27
06:06AM up 60 days, 6:36, 20 users, load average: 10.42, 11.19, 10.24
06:07AM up 60 days, 6:37, 20 users, load average: 13.86, 12.05, 10.61
06:08AM up 60 days, 6:38, 20 users, load average: 15.55, 12.86, 10.99
06:09AM up 60 days, 6:39, 20 users, load average: 8.85, 11.47, 10.62
06:10AM up 60 days, 6:40, 20 users, load average: 6.36, 10.28, 10.25
06:11AM up 60 days, 6:41, 20 users, load average: 8.03, 10.01, 10.16
06:12AM up 60 days, 6:42, 20 users, load average: 13.36, 11.26, 10.60
06:13AM up 60 days, 6:43, 20 users, load average: 14.62, 12.01, 10.91
06:14AM up 60 days, 6:44, 20 users, load average: 9.68, 11.25, 10.72
06:15AM up 60 days, 6:45, 20 users, load average: 7.32, 10.18, 10.37
-------------------------------------------------------

etc...etc
 
ps auxw|sort -k5rn|pg will show heaviest memory user - ps auxw|pg will show user with highest cpu usage.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top