- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- unable to find what is filling up /tmp
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
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
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
06-04-2012 12:22 PM
06-04-2012 12:22 PM
Re: unable to find what is filling up /tmp
>it's the same stuff:
So it's not very useful, kill them all! You don't really need 194 processes pinging the same IP. ;-)
Also, you really should be sending this info to a pipe so you can do data reduction on the fly. Or only send errors when ping fails.
>Does this file exist: /tmp/fr/ping_date.txt?
That's the missing file, since it's so large.
>I would look and see if you can kill those processes.
I would just wave bye-bye to the unmutual script and kill them all.
You could check to see if all of them are the same IP and output file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2012 12:58 PM
06-04-2012 12:58 PM
Re: unable to find what is filling up /tmp
Hi
The /tmp/fr/ping_date.txt file does not exist, and I am not quite sure how can kill 194 processes at the same time, please can you give a hint?
FR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2012 01:18 PM
06-04-2012 01:18 PM
Re: unable to find what is filling up /tmp
You can try to script the process. Otherwise you will just have to go through the list and kill the appropriate processes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2012 01:39 PM
06-04-2012 01:39 PM
Re: unable to find what is filling up /tmp
does this:
ps -ef |awk '/pong/{print $2}' | xargs kill -15
will do the job?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2012 02:39 PM
06-04-2012 02:39 PM
Re: unable to find what is filling up /tmp
Nandinho,
Try using lsof on /tmp with sorting SIZE column.
# lsof /tmp > lsof_tmp.out
# cat lsof_tmp.ou | sort -k 8 | more
You will see the large size , the program using, try to check that program with the PID given. May be you need to bounce that program/application or to kill it .
Hth,
Raj D.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2012 06:21 PM - edited 06-05-2012 01:05 AM
06-04-2012 06:21 PM - edited 06-05-2012 01:05 AM
Solution>ps -ef | awk '/pong/{print $2}' | xargs kill -15; will do the job?
Yes, unless you want to limit it to be safe:
ps -fu root | awk '/ping.*pong/ {print $2}' | xargs kill
>Try using lsof on /tmp with sorting SIZE column.
> cat lsof_tmp.out | sort -k 8
I count column 7. Also no need to use an evil cat:
sort -k 7 lsof_tmp.out
- Tags:
- evil cat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2012 11:58 PM
06-04-2012 11:58 PM
Re: unable to find what is filling up /tmp
Hi
Thank you Dennis, I used your command, but with a pipe, (I think you missed it)
ps -fu root | awk '/ping.*pong/ {print $2}'| xargs kill
It worked fine, problem solved.
Thank you
FR
- « Previous
-
- 1
- 2
- Next »