HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to understand if a machine properly runs
Operating System - HP-UX
1834935
Members
2502
Online
110071
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
05-13-2003 12:35 AM
05-13-2003 12:35 AM
How to understand if a machine properly runs
Hello colleagues,
I need a simple command, or a simple set of commands, to check if a machine is properly running, i.e. if it can support the start of an application.
I mean, something like "bdf" to check if the file system is full, some diagnostic on the HW to check if the disks are fault or not, and so on.
Is it possible to take a look at the system log? which are the strings that I should look for?
thanks
Enrico
I need a simple command, or a simple set of commands, to check if a machine is properly running, i.e. if it can support the start of an application.
I mean, something like "bdf" to check if the file system is full, some diagnostic on the HW to check if the disks are fault or not, and so on.
Is it possible to take a look at the system log? which are the strings that I should look for?
thanks
Enrico
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2003 12:38 AM
05-13-2003 12:38 AM
Re: How to understand if a machine properly runs
One tool I can think off is mstm or xtsm.A load of thing you could do from here.The one thing I always used is Disk execise.This is to check whether the disk is OK or Not.
still learning,
mB
still learning,
mB
There are three person in my team-Me ,myself and I.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2003 12:43 AM
05-13-2003 12:43 AM
Re: How to understand if a machine properly runs
It depends on what the application requires.
'swapinfo -ta' shows swap and memory allocation.
'bdf' does show disk space
'vmstat' interrogates various system tables.
'sar' also checks system tables.
'dmesg' shows system errors from a buffer.
If you are asking if you can write a set of scripts to perform capacity planning, the answer is probably not. You can't beat the analysis and experience of a good sysadmin for capacity planning.
Share and Enjoy! Ian
'swapinfo -ta' shows swap and memory allocation.
'bdf' does show disk space
'vmstat' interrogates various system tables.
'sar' also checks system tables.
'dmesg' shows system errors from a buffer.
If you are asking if you can write a set of scripts to perform capacity planning, the answer is probably not. You can't beat the analysis and experience of a good sysadmin for capacity planning.
Share and Enjoy! Ian
Building a dumber user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2003 12:51 AM
05-13-2003 12:51 AM
Re: How to understand if a machine properly runs
Hi Enrico,
I would say it is impossible to guarantee that by executing a few commands. However, you can always do the following:
# vgdisplay -v | grep stale
If noting is returned, you probably have all your disks available, but it is not waterproof.
# top
for checking that you have some idle cpu time.
# vmstat
Check for the "po" (page out) column. If it says zero, the system does not swap.
Search /var/adm/syslog/syslog.log for the string "fail":
# grep -n fail /var/adm/syslog/syslog.log
which will give you the line number where "fail" appears; check that out - it is of course not a guarentee either, but many error messages contain the string "fail".
However, the best indicator is if the users do not complain!
regards,
John K.
I would say it is impossible to guarantee that by executing a few commands. However, you can always do the following:
# vgdisplay -v | grep stale
If noting is returned, you probably have all your disks available, but it is not waterproof.
# top
for checking that you have some idle cpu time.
# vmstat
Check for the "po" (page out) column. If it says zero, the system does not swap.
Search /var/adm/syslog/syslog.log for the string "fail":
# grep -n fail /var/adm/syslog/syslog.log
which will give you the line number where "fail" appears; check that out - it is of course not a guarentee either, but many error messages contain the string "fail".
However, the best indicator is if the users do not complain!
regards,
John K.
it would be nice if you always got a second chance
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP