- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to trace a process?
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
07-11-2002 12:31 AM
07-11-2002 12:31 AM
How to trace a process?
tftp dgram udp wait root /usr/lbin/tftpd tftpd /opt/ignite /var/opt/ignite
# ps -ef|grep tftp
root 24525 694 237 May 30 ? 3663:55 tftpd /opt/ignite /var/opt/ignite
root 7595 7580 0 01:24:36 pts/tc 0:00 grep tftp
And one thing I am worried about is that it consumes 95% of CPU and load level is very high. Once I killed it, the load level from "top" droped significantly. On my another server there is still tftpd running and I want to find out how did it get started, anyone can help me?
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2002 12:39 AM
07-11-2002 12:39 AM
Re: How to trace a process?
There's probably another system using the trivial ftp protocol to ftp to / from your system (in my humble opinion). You could check with "netstat -an" which system is connecting to your tftp port (you can find that in /etc/services, probably going to be 69).
Hope this gets you started ...
Regards,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2002 12:40 AM
07-11-2002 12:40 AM
Re: How to trace a process?
tftpd is started by inetd whenever a request is put to port
69 (tftp) from any host on your lan
Regards
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2002 12:53 AM
07-11-2002 12:53 AM
Re: How to trace a process?
use lsof to identify which process is invoking tftp, u can use
lsof -i:tftp
then kill that process
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2002 12:56 AM
07-11-2002 12:56 AM
Re: How to trace a process?
". Could tftpd be started by make_tape_recovery since tftpd got something to do with Ignite/UX as it is shown in /etc/inetd.conf? I tried on another old server and even there is a same entry for tftpd in inetd.conf, I didn't find tftpd running even after I rebooted the server. So how do I know how did it get started?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2002 01:12 AM
07-11-2002 01:12 AM
Re: How to trace a process?
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
inetd 694 root 7u inet 0x4844a268 0t0 UDP *:tftp (Idle)
tftpd 24525 root 0u inet 0x4844a268 0t0 UDP *:tftp (Idle)
tftpd 24525 root 1u inet 0x4844a268 0t0 UDP *:tftp (Idle)
tftpd 24525 root 2u inet 0x4844a268 0t0 UDP *:tftp (Idle)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2002 01:20 AM
07-11-2002 01:20 AM
Re: How to trace a process?
For tftp to work there should be a tftp user in /etc/passwd. Is it there on the systems that have the problem ?
Regards,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2002 01:29 AM
07-11-2002 01:29 AM
Re: How to trace a process?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2002 01:34 AM
07-11-2002 01:34 AM
Re: How to trace a process?
tftp:*:510:101:tftp server:/home/tftpdir:/usr/bin/false
Regards
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2002 01:40 AM
07-11-2002 01:40 AM
Re: How to trace a process?
So now I want to investigate how did that happen?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2002 02:00 AM
07-11-2002 02:00 AM
Re: How to trace a process?
tftp is used for network related operations using ignite like instl_adm,make_net_recovery.
When the client is booted up using the bootp protocol the server uses tftp to push files to the client.
If you are just using make_tape_recovery or make_recovery of the ignite product tftp is not required.might be you can comment it in the inetd.conf file.Later if you need it you can enable it.
Also performing a recovery using a local tape drive should not cause a problem.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2002 04:33 PM
07-11-2002 04:33 PM
Re: How to trace a process?
# ps -ef|grep tftp
root 24525 694 255 May 30 ? 4552:11 tftpd /opt/ignite /var/opt/ignite
In cron job list there is only one script running "make_tape_recovery". Besides this I don't know what program triggered tftpd. The parent process of tftpd is inetd, but it should be triggered by something else. What is that?