- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /tmp files created
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
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
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
08-05-2003 06:57 AM
08-05-2003 06:57 AM
/tmp files created
The files are all the same size with the word, NONE in the file. Here is what I see, excuse the word wrap.
-rw-rw-r-- 1 operator hp3070 5 Aug 4 15:51 10674a
-rw-rw-r-- 1 operator hp3070 5 Aug 4 16:18 11503a
-rw-rw-r-- 1 operator hp3070 5 Aug 4 16:19 11698a
-rw-rw-r-- 1 operator hp3070 5 Jul 30 15:29 12346a
-rw-rw-r-- 1 operator hp3070 5 Jul 28 16:15 15257a
-rw-rw-r-- 1 operator hp3070 5 Jul 28 19:50 17285a
-rw-rw-r-- 1 operator hp3070 5 Jul 29 22:24 1786a
-rw-rw-r-- 1 operator hp3070 5 Jul 31 08:42 19773a
-rw-rw-r-- 1 operator hp3070 5 Jul 31 09:53 20487a
-rw-rw-r-- 1 operator hp3070 5 Jul 31 10:45 21165a
-rw-rw-r-- 1 operator hp3070 5 Aug 1 12:03 211a
-rw-rw-r-- 1 operator hp3070 5 Jul 31 11:46 21921a
-rw-rw-r-- 1 operator hp3070 5 Jul 31 13:28 23577a
-rw-rw-r-- 1 operator hp3070 5 Jul 29 07:51 23695a
-rw-rw-r-- 1 operator hp3070 5 Jul 29 08:18 24040a
-rw-rw-r-- 1 operator hp3070 5 Jul 29 09:20 24631a
-rw-rw-r-- 1 operator hp3070 5 Jul 31 15:23 24705a
-rw-rw-r-- 1 operator hp3070 5 Jul 31 15:50 24972a
-rw-rw-r-- 1 operator hp3070 5 Jul 31 18:49 25885a
-rw-rw-r-- 1 operator hp3070 5 Jul 29 12:02 26050a
-rw-rw-r-- 1 operator hp3070 5 Jul 29 17:52 29983a
-rw-rw-r-- 1 operator hp3070 5 Aug 3 22:55 3169a
-rw-rw-r-- 1 operator hp3070 5 Jul 30 01:03 3216a
-rw-rw-r-- 1 operator hp3070 5 Jul 29 18:34 624a
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2003 07:01 AM
08-05-2003 07:01 AM
Re: /tmp files created
You have an application or script doing this and you've got plenty of clues to track it down.
find / -exec grep -l 'NONE' {} \;
That will find you scripts with NONE in them.
modify the / to a more logical, less cpu consuming search.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2003 07:23 AM
08-05-2003 07:23 AM
Re: /tmp files created
Note the owner and group of the file, operator and hp3070, you could do a ps -ef and grep for operator to see what processes are being run by the user 'operator', this will at least narrow it down a bit if not give you the culprit.
Its difficult to see from the output whether there is a particular pattern to when the files are created, i.e. is it an application run as a cron job. Doesn't appear to be from what I can see but...
You could also see what processes are currently using the /tmp directory using the fuser command, you need to be root to use it but if the command has a file or two open in /tmp all the time you could catch it there. Chances are it just dumps the file in /tmp and closes it straight away in case you prob won't get it that way but its another option to check.
Hard to guess beyond that, but the user 'operator' is a non standard user, i.e. not created at install time on HPUX, so it should help to track it down. Do you know why this user was created, what for? Why would someone login to this account, to use a particular application?
hope that helps,
Kevin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2003 07:27 AM
08-05-2003 07:27 AM
Re: /tmp files created
* to check what processes are running as this operator user
ps -fu operator (ps -ef |grep operator would work too)
* check for recurring by sorting the output by date using the sort command. Dunno how to do this offhand, man should help.
* fuser on the tmp directory is just
fuser /tmp
Kevin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2003 07:33 AM
08-05-2003 07:33 AM
Re: /tmp files created
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.67/
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2003 09:15 AM
08-05-2003 09:15 AM
Re: /tmp files created
I logged off all users and found the following in the /tmp when the operator logged on.
-rw-rw-r-- 1 operator hp3070 70 Aug 5 12:02 X.out.operator@hp3070b:0
-rw-rw-r-- 1 operator hp3070 5 Aug 5 12:02 25169a
The 25169a has the word NONE. The other file has
/home/operator/.x11start Tue Aug 5 12:02:23 EDT 2003 (process 25010)
I am trying to see what processes are run by the operator and wonder if these files are part of the Translogd daemon that logs test data.
output of ps -fu operator
operator 25194 25181 0 12:03:37 ttyp3 0:00 sh -c basic "test monitor | testhead is 1
| msi '/hp3070/boa
operator 25197 25196 0 12:03:38 ttyp3 0:51 /opt/hp3070/bin/e test monitor | testhead
is 1 | msi '/hp307
operator 25181 25169 0 12:02:28 ttyp3 0:01 /opt/hp3070/bin/e test monitor | load '/va
r/hp3070/standard/
operator 25152 1 0 12:02:22 ? 0:00 /usr/dt/bin/ttsession -s
operator 25159 25010 0 12:02:24 ? 0:00 mwm
operator 25169 25161 0 12:02:28 ttyp3 0:00 basic test monitor | load '/var/hp3070/sta
ndard/TCM' | run
operator 25200 25197 0 12:03:40 ttyp3 0:00 operator tm_standard -h -o
operator 25010 20224 0 12:02:17 ? 0:00 /home/operator/.x11start /home/operator/.x
11start
operator 25196 25194 0 12:03:38 ttyp3 0:00 basic test monitor | testhead is 1 | msi '
/hp3070/boards/725
operator 25161 25010 0 12:02:27 ? 0:01 hpterm -name basic -geometry =80x24 -geome
try +12+117 -cr li
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 12:36 AM
08-06-2003 12:36 AM
Re: /tmp files created
Take a look at next doc,
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000006447666
or you check the env for user operator, see if anything get redirected to /tmp.
Hope it helps,
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 12:46 AM
08-06-2003 12:46 AM
Re: /tmp files created
By the looks of that output, the file name is a
I would start looking through the scripts that are executed when a login session starts.
By the looks of things, you have CDE logins, so start from there.
Remember that a pid can be obtained from the shell by $$ so maybe the script is sending information to $$a
Worth a try.
Cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2003 12:08 PM
08-07-2003 12:08 PM
Re: /tmp files created
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2003 12:16 PM
08-07-2003 12:16 PM
Re: /tmp files created
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000006447666
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2003 12:22 PM
08-07-2003 12:22 PM
Re: /tmp files created
US
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000006447666
Regards,
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2005 02:09 AM
01-05-2005 02:09 AM