- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- Re: unable to find what is filling up /tmp
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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 »
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP