HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Dots in consola's messages
Operating System - HP-UX
1832541
Members
4640
Online
110043
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
01-21-2011 12:29 AM
01-21-2011 12:29 AM
Dots in consola's messages
Hi,
Is there any way to remove the dots that come out of the console boot messages from a hp-ux when it starts?
The messages are like this:
Start multicast routing daemon ...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
............................................................ N/A
Start router discover protocol daemon .................................................................................
Start RARP protocol daemon ...................................................................................
Starting mail daemon .
Thaks a lot of,
Carmen.
Is there any way to remove the dots that come out of the console boot messages from a hp-ux when it starts?
The messages are like this:
Start multicast routing daemon ...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
............................................................ N/A
Start router discover protocol daemon .................................................................................
Start RARP protocol daemon ...................................................................................
Starting mail daemon .
Thaks a lot of,
Carmen.
Users are not too bad ;-)
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2011 03:21 AM
01-21-2011 03:21 AM
Re: Dots in consola's messages
When HP-UX starts up/shuts down (or changes to a different runlevel, the /sbin/rc script first calls all the required /sbin/rc?.d/* scripts with the argument "start_msg" or "stop_msg" as appropriate, and stores the messages in an array. The script also notes the length of the longest message, and adds extra dots to the other messages to make them all the same length.
After collecting the messages, /sbin/rc runs the required /sbin/rc?.d/* scripts with the argument "start" or "stop" as appropriate, one by one. Before running each script, it displays the stored message, and after the script has completed, it appends the OK / N/A / FAIL result information to the end.
You get multiple consecutive lines of dots if one of your startup scripts displays anything other than a short one-line message when called with argument "start_msg" or "stop_msg".
If your startup script outputs nothing at all when called with argument "start_msg" or "stop_msg", you'll get a line that contains only dots.
For example, the generic SysVinit startup/shutdown script that comes with BMC Patrol (a commercial system monitoring software) does not understand these HP-UX-specific arguments, and produces a multi-line error message. This causes the "multiple lines of dots" effect... Once you've made sure all your startup/shutdown scripts produce only a single line of output when called with argument "start_msg" or "stop_msg", you should get a nice output where the OK / N/A / FAIL result information is in a straight column at the right edge of a regular 80-character terminal display.
Attached is an inittest.sh script that can be used to test all the init scripts for HP-UX start_msg/stop_msg feature support. When you run it (as root), it should display a series of lines like "Testing /sbin/rc?.d/<scriptname>". Any other output indicates an error, and should be pretty self-descriptive.
MK
After collecting the messages, /sbin/rc runs the required /sbin/rc?.d/* scripts with the argument "start" or "stop" as appropriate, one by one. Before running each script, it displays the stored message, and after the script has completed, it appends the OK / N/A / FAIL result information to the end.
You get multiple consecutive lines of dots if one of your startup scripts displays anything other than a short one-line message when called with argument "start_msg" or "stop_msg".
If your startup script outputs nothing at all when called with argument "start_msg" or "stop_msg", you'll get a line that contains only dots.
For example, the generic SysVinit startup/shutdown script that comes with BMC Patrol (a commercial system monitoring software) does not understand these HP-UX-specific arguments, and produces a multi-line error message. This causes the "multiple lines of dots" effect... Once you've made sure all your startup/shutdown scripts produce only a single line of output when called with argument "start_msg" or "stop_msg", you should get a nice output where the OK / N/A / FAIL result information is in a straight column at the right edge of a regular 80-character terminal display.
Attached is an inittest.sh script that can be used to test all the init scripts for HP-UX start_msg/stop_msg feature support. When you run it (as root), it should display a series of lines like "Testing /sbin/rc?.d/<scriptname>". Any other output indicates an error, and should be pretty self-descriptive.
MK
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2011 07:25 PM
01-22-2011 07:25 PM
Re: Dots in consola's messages
Here's a similar script to check start/stop messages. It will show the length of every message in the /sbin/rc*.d directories. Add the option -v and it will also show the message in "" format to see exactly what the message has (including multiple lines, not good). To just see the problems, run with -q for quiet. You can also specify the smallest (-s) size permitted and the largest (-l).
Bill Hassell, sysadmin
Bill Hassell, sysadmin
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