10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi Members,
I'm new to unix. Could you help me in solving my issue.
My requirement is I need to pull Top 15 users in every mount. I could able to get the mount level information but I couldn't able to pull the top users in every mount. I see in every mount I could see a lot of nested... (3 Replies)
Discussion started by: UBEE
3 Replies
2. Shell Programming and Scripting
I want to see top 5 users,who have occupied most amount of disk space in a filesystem.
But not sure how to do it.
I can get the usage for a particular user
find . -user user -type f exec df -h {} \;|awk '{ s = s+$1 } END { print "Total used: ",s }'
But how to get without specifying any user... (6 Replies)
Discussion started by: rka
6 Replies
3. Shell Programming and Scripting
I am trying for a shell script like, if the ram utilization is less than 300M and the load average is more then 4.00 , should take all the top users of memory and CPU utilization through "top" and "ps " command and put under one path. (6 Replies)
Discussion started by: gsiva
6 Replies
4. Shell Programming and Scripting
Hi
I'm doing some resilience testing and need to write a script to consume all of the available disk space on a partition and then to free it up again.
This would need to be -
Safe
Dynamic, in that it calculates the free space prior to consuming it.
I might want to go on to consume a... (7 Replies)
Discussion started by: bbq
7 Replies
5. Red Hat
Hi All,
I work in a multi user environment where my school uses Red Hat Linux server. When I issue commands such as "top" or "users", I get to see what others are doing and what kinds of applications they are running (even ps -aux will give such information). "users" will let me know who else is... (1 Reply)
Discussion started by: shoaibjameel123
1 Replies
6. UNIX for Dummies Questions & Answers
For the first 3 users only that are currently logged in output their effective user id.
thank you. (6 Replies)
Discussion started by: whyatepies
6 Replies
7. Shell Programming and Scripting
For the first 4 users only that are currently logged in output their effective user id.
It's not important the order in which each logged in i just want to have the top 4.
Same question as here...... (0 Replies)
Discussion started by: whyatepies
0 Replies
8. Shell Programming and Scripting
is it possible from shell utility that we can track top 10 ipaddress from squid access.log who visit facebook.com.
cat /var1/log/squid/access.log | grep "192.168.1.13" | grep "facebook" | wc -l
777
above will find only one (2 Replies)
Discussion started by: learnbash
2 Replies
9. Shell Programming and Scripting
Hi all, I am needing a bash shell script to generate a list of the top 5 users using the most disk space. I am thinking that the du command would be used somehow but I am at a loss. Can anyone help? Thanks! (3 Replies)
Discussion started by: sytemx
3 Replies
10. UNIX for Dummies Questions & Answers
Hi there,
When I run top on my machine it says I have 497M swap space in use, and 380M swap space free,
but I have only allocated 512M swap space to the machine!!!!
Does anyone know how swap used is calculated in the top command?
Thanks... (1 Reply)
Discussion started by: chorgan
1 Replies