- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- landiag processing taking up most of my cpu resour...
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
Discussions
Forums
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
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
тАО01-30-2003 06:55 AM
тАО01-30-2003 06:55 AM
landiag processing taking up most of my cpu resources
The man pages say lanadmin replaces the now obsolete landiag command beginning at 10.0. I have 11.0 so the system should be using the lanadmin, but why is landiag still showing up in the process?
If I wanted to quit landiag, I would issue the quit command the same as you would quit the lanadmin?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2003 07:00 AM
тАО01-30-2003 07:00 AM
Re: landiag processing taking up most of my cpu resources
I'm not sure why your 11.0 box is running landiag. As you mentioned it is replaced by lanadmin. Is there a tty associated with the landiag process? Maybe someone found the old utility and ran it?
My suggestion is to figure out who or what ran it, and why, and then just kill the process.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2003 07:09 AM
тАО01-30-2003 07:09 AM
Re: landiag processing taking up most of my cpu resources
On one of my 11.00 systems, the landiag and lanadmin commands look like they are hard linked to the same executable:
# ls -ld /usr/sbin/landiag
-r-xr-xr-x 2 root bin 49152 Jul 20 2001 /usr/sbin/landiag
# ls -ld /usr/sbin/lanadmin
-r-xr-xr-x 2 root bin 49152 Jul 20 2001 /usr/sbin/lanadmin
Are they the same on your box or are they two different executables?
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2003 07:19 AM
тАО01-30-2003 07:19 AM
Re: landiag processing taking up most of my cpu resources
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2003 07:43 AM
тАО01-30-2003 07:43 AM
Re: landiag processing taking up most of my cpu resources
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2003 12:59 PM
тАО01-30-2003 12:59 PM
Re: landiag processing taking up most of my cpu resources
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2003 01:22 PM
тАО01-30-2003 01:22 PM
Re: landiag processing taking up most of my cpu resources
I ran landiag here and it looks like the same thing as lanadmin.
Can you tell if your landiag is running with any parameters, or is it running standalone? If it runs without any command line parameters it should come up in the menu interface. Since you can't kill the process I would suspect that it was trying to change a LAN card setting or query something and got hung up on some I/O. Ouch. Are you getting any complaints in syslog or maybe from nettl?
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2003 01:55 PM
тАО01-30-2003 01:55 PM
Re: landiag processing taking up most of my cpu resources
Yeah about 2 weeks ago I installed a new card (A4926A = fiber gig card), and unplumbed the first card and set up the second card. Card seem to work but I just noticed that the landiag is using up way too much resources.
Oh, I tried to kill landiag by running landiag and then quit. I guess I could kill the process, but I initially thought my first way would be more clean?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2003 02:19 PM
тАО01-30-2003 02:19 PM
Re: landiag processing taking up most of my cpu resources
landiag is not a process that runs all the time like a daemon. As you already know, it is used only during diagnostics. Are you running any script that runs landiag continuously?. I believe not.
When you invoke another landiag, it is going to be another process altogether. So, exiting it cleanly will not affect the one that was already running.
It may be an orphaned process. Go ahead and kill it.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2003 07:50 AM
тАО02-03-2003 07:50 AM
Re: landiag processing taking up most of my cpu resources
It looks like it keeps popping up or starting up. I am not sure what causes it to start up, but this morning I two killed landiags that were running. And about 30 minutes later it appears another process has started but this time its only one landiag running.
I never had this problem until I installed the gelan cards on two of my servers. Both servers show landiag running (either 1 or 2 or 3 landiag processes) at one time or another, and often they are taking up 99% of a cpu, if not more than 1.
It appears something is starting up landiag and I am going to check the patch level and requirement. Surely this has something to do with the gelan driver/NIC?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2003 08:02 AM
тАО02-03-2003 08:02 AM
Re: landiag processing taking up most of my cpu resources
What is the PPID of the landiag process? Maybe that will give some clues. My guess is that some kind of automatic diagnostics are running on the box. Could EMS be using landiag to check on the health of the LAN cards?
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2003 01:35 PM
тАО02-03-2003 01:35 PM
Re: landiag processing taking up most of my cpu resources
I think its some kind of automatic diagnosis running on the box, but am still looking to find where/what is the purpose for this. By the way, what is PPID, or rather, how can you find the PPID?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2003 01:39 PM
тАО02-03-2003 01:39 PM
Re: landiag processing taking up most of my cpu resources
The PPID is the parent process ID number. Like this:
# ps -fp 23008
UID PID PPID C STIME TTY TIME COMMAND
root 23008 2742 0 Jan 25 ? 0:22 diaglogd
The parent PID of my diaglogd daemon is 2742, so I can go look at that:
# ps -fp 2742
UID PID PPID C STIME TTY TIME COMMAND
root 2742 1 0 Jan 25 ? 1:23 diagmond
...and see that the parent process is the diagmond daemon.
If you can figure out what the parent process is of your landiag processes, you might have a good clue about what is spawning them.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-03-2003 01:43 PM
тАО02-03-2003 01:43 PM
Re: landiag processing taking up most of my cpu resources
I believe your landiag has been getting invoked by scripts either through cronjobs or your monitoring softwares like VPO, Tivoli etc., whichever has been configured on your system.
Take a ps -ef output and note down the ppid of the landiag process as mentioned by John. Search for ppid in the same output and see if you can find a parent process. I think HAO does invoke landiag and you may want to check it too if you have it.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2003 08:04 AM
тАО02-04-2003 08:04 AM
Re: landiag processing taking up most of my cpu resources
ps -fp 2182
PID=2182, PPID=2181 Time=6735 Command=landiag -t
ps -fp 2181
PID=2181, PPID=1, Time=0 Command= sh -c landiag -t 2>/dev/null <
As you can see, the parent process is the command that ran landiag. I don't see anyplace where this command is ran. Not only that, it appears there is always TWO running at the same time.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2003 08:19 AM
тАО02-04-2003 08:19 AM
Re: landiag processing taking up most of my cpu resources
Looking at the arguments of landiag I strongly suspect the Unicenter TNG Agent to do this kind of calls. Would this be possible?
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2003 08:47 AM
тАО02-04-2003 08:47 AM
Re: landiag processing taking up most of my cpu resources
The pid 2181 is a sub shell running landiag. Since it's parent is 1, it could most probably that it is starting through cron. Look at your crontabs.
Try killing the pid 2181 and see if it respawns.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2003 01:30 PM
тАО02-04-2003 01:30 PM
Re: landiag processing taking up most of my cpu resources
I will apply the PHNE_25612 patch and see if this helps. Yes, we are running Unicenter, and I asked the Uni Admin if he knew of any jobs that would start up lanadmin, and he said as far as he knows he does not think so.
I'll get the patch installed and let you all know how it goes. Thanks.