- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: new to sys admin
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
11-24-2005 03:48 PM
11-24-2005 03:48 PM
new to sys admin
Im a sys admin trainee , i need some help from ur side
There are lots of commands in HP_UX pls list the important commands which are mostly used for administration
Thanks in Advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2005 04:15 PM
11-24-2005 04:15 PM
Re: new to sys admin
man man
Also, start reading basic unix books, then you can move onto HP-UX books. A book by Rafiq-Ur-Rehman is best for hp-ux.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2005 05:50 PM
11-24-2005 05:50 PM
Re: new to sys admin
The are many commands in hp unix and each command is important in it's arena..
Man command is the best practice to teach urself.
#man
If possible, try to arrange some book published by hp.
cheers
indrajit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2005 06:12 PM
11-24-2005 06:12 PM
Re: new to sys admin
there are lots of commands.Once upon a time
i got such a kind of pdf.i can not put the attachment here because max limit size 1Mb.
if you can give a valid e-mail address without any quota then i can send via e-mail to you.
HP-UX Reference Release 11.0
System Administration Commands
Sectiom 1M
B2355-90166
E1097
Good Luck,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2005 06:13 PM
11-24-2005 06:13 PM
Re: new to sys admin
I think most of HP-UX commands are important, but you need to get to use it so you will find which one is suitable for your daily tasks.
If you would like to find the details about the command, just search the man page of that command.
You can go for HP-UX Sys Admin training or just read from the books.
Poniatowski is a good book for start. The one that I use for the first time is 'HP-UX 11i System Administration Handbook and Toolkit'. And also from Rehman.
Below are some books for references :
HP-UX
Cooper/Moore HP-UX 11i Internals
Fernandez Configuring CDE
Madell Disk and File Management Tasks on HP-UX
Olker Optimizing NFS Performance
Poniatowski HP-UX 11i Virtual Partitions
Poniatowski HP-UX 11i System Administration Handbook and Toolkit, Second Edition
Poniatowski The HP-UX 11.x System Administration Handbook and Toolkit
Poniatowski HP-UX 11.x System Administration "How To" Book
Poniatowski HP-UX 10.x System Administration "How To" Book
Poniatowski HP-UX System Administration Handbook and Toolkit
Poniatowski Learning the HP-UX Operating System
Rehman HP-UX CSA: Official Study Guide and Desk Reference
Sauers/Ruemmler/Weygant HP-UX 11i Tuning and Performance
Weygant Clusters for High Availability, Second Edition
Wong HP-UX 11i Security
Hope this information can help you.
Cheers,
AW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2005 06:19 PM
11-24-2005 06:19 PM
Re: new to sys admin
you can go http://www.docs.hp.com/
then make a search B2355-90166
Then you can get
» HP-UX Reference (11i v1 05/09) - 1M System Administration Commands a-m (vol 3) (6880) (HP-UX 11i v1)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2005 07:12 PM
11-24-2005 07:12 PM
Re: new to sys admin
ls, find, grep, sed, awk, cut, history, alias, netstat, route, paste, comp, diff, man, ps, top, vmstat, iostat, ioscan, kmtune, ndd, fsadm, mkfs, fsck, cat, nm, ldd, strings, chatr, vgdisplay, bdf, du,df, lvdisplay
View their man pages and go to the SEE also part.
To go with man pages then,
go to http://docs.hp.com/en/hpuxman_pages.html and select platform and use that pdf / html files. Continue with the above list.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2005 08:07 PM
11-24-2005 08:07 PM
Re: new to sys admin
u may like to refer to this:
http://bhami.com/rosetta.html
it gives u some common command not just for HP-UX but other UNIX OS as well, in case u r experience with other UNIX OS.
regards.
(p.s. please remember to assign points.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2005 05:53 AM
11-27-2005 05:53 AM
Re: new to sys admin
There are lots of documentations available in the net. I recommend you to lern module by module, rather than just muggingup the commands. That is no way going to help you.
What best you can do is to classify the hpux system in to diffrent modules and gp thorugh one by one, prepare a small note of commands and it'd discr. Some think like
UNIX has some thing called man pages, this is an online help available in the system. practice to get help from man.
Regards,
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2005 05:53 AM
11-27-2005 05:53 AM
Re: new to sys admin
There are lots of documentations available in the net. I recommend you to lern module by module, rather than just muggingup the commands. That is no way going to help you.
What best you can do is to classify the hpux system in to diffrent modules and go
thorugh one by one, prepare a small note of commands and it'd discr. Some think like
UNIX has some thing called man pages, this is an online help available in the system. practice to get help from man.
Regards,
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2005 07:20 AM
11-27-2005 07:20 AM
Re: new to sys admin
My advice is spend and hour a day reading threads and various questions in this very forum.
You will see a lot of commands to deal with issues both mundane and complex.
You might also like to get a book called HP Certified by Rehman, it provides a good learners background.
Lastly, you can see if HP Education offers courses near your locale. I loved all the courses I took at HP and learned a lot.
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
11-27-2005 07:43 AM
11-27-2005 07:43 AM
Re: new to sys admin
Just start with $ man man , and you got the key to all.
The commands are huge , and every command is useful for their particular use. And many unix commands are same , except few changes . for hp-ux commands check this link:
http://docs.hp.com/en/5971-2523/5971-2523.pdf
Also go through the hp-ux sysadmin books , that will help :
Here is one:
1.
HP-UX 11i System Administration Handbook and Toolkit, Second Edition
By Marty Poniatowski
Publisher : Prentice Hall PTR
Pub Date : February 10, 2003
ISBN : 0-13-101883-3
Pages : 1440
Link: http://www.amazon.com/gp/product/0131018833/103-8194516-7258200?v=glance&n=283155&v=glance
2. HP-UX System Administration.
By: Rafeeq Ur Rehman.
Is also good for certification.
Enjoy ,
hth ,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2005 09:03 AM
11-27-2005 09:03 AM
Re: new to sys admin
Here is few things , that might help you :
1. User Administration:
# useradd -u uid -s /usr/bin/ksh -g pri_group -d /home/username -m username
[ Where uid , pri_group , username : are input ]
# passwd username # setting password.
# passwd -f username # to chg pw at next login.
# usermod -G grp1 grp2 username # to add more group for the user ]
# passwd -l username # To lock a user ]
You can do the same activity through sam also.
2. System Maintenance:
1. To shutdown :
(Make sure nobody working and system needs to shutdown , check oracle and other application stopped.)
# ps -ef | egrep '(ora|pmon)' # to check if oracle running.)
Check Application team before shutting down.
To shutdown for any maintenace or other reason:
# shutdown -h -y 0
To Reboot: ( To watch the reboot, make sure you have logged in GSP/console)
# reboot -r -y 0
To boot in single user mode:
Interrupt normal boot process:
at ISL > hpux -is
3. To check System Logs:
/var/adm/syslog/syslog.log
dmesg
/var/opt/resmon/log/event.log
/var/adm/wtmp , utmp , btmp #login logs.
/var/adm/mail.log # mail log
/var/adm/cron/log # cron log
/var/adm/lp/log # LP logs.
/var/adm/sw/swinstall.log # All sw logs can be found here.
/var/adm/crash # crash dumps.
4. System / devices :
# ioscan -fnC disk # to check disks.
# ioscan -fnC tape # to check tape devs.
# ioscan -fnC lan # to check lan devs.
# ioscan -fnC fc # to check fc adptrs.
# ioscan -fnC ext_bus # to check all ext_bus
# /opt/fcms/bin/fcmsutil /dev/fc0 # to check fc details.(assuming fc0 is the fc adapter )
/usr/bin/cstm # cstm . check "man cstm" for details.
EMS:
# /opt/resmin/bin/resls / # To check resources configured
5. System Backup/Restore:
tar
cpio
make_tape_recovery *Important.
( Use man page to see details.)
6. Kernel tuning:
# kmtune -q parameter # to see current value.
# kmtune -s npty=120 # [Ex: to change npty value ]
# ./mk_kernel
# ./kmupdate
# shutdown -r -y 0 # to make it effective]
Check this:
HP-UX Kernel Tuning and Performance Guide:
http://docs.hp.com/en/1219/tuningwp.html
7. Software /Patching:
# swlist -l bundle # [ to see installed bundled ]
# swlist -l product # [ to see installed products ]
# swlist -l fileset # [ to check filesets]
# swinstall -s `pwd`/depot # to install software from created depot directory.
# swverify \* # to verify all sw.
# swremove # to remove sw .
8. Performance monitoring:
# glance
# top
# sar -v 5 5 # to check system table .
# sar -u -M 5 5 # to check cpu uti.
# vmstat 5 5 # swap usuage.
# iostat 5 5 # io usage.
# swapinfo -tm # swap usuage status.
Also check this performance monitoring too:
http://www.hpux.ws/system.perf.sh
9. System Inventory:
A. Nickel Script:
http://unixguide.net/scripts/nickel108
B. cfg2html
http://come.to/cfg2html
C. HP collection.sh script.
10. Finding CPU Details:
A.
# echo "selclass qualifier cpu;info;wait;infolog" | /usr/sbin/cstm
B. Finidng CPU speed in Mhz, in a single command:
# echo "CPU Speed is= \c" ; echo itick_per_tick/D|adb -k /stand/vmunix /dev/kmem|tail -1|cut -f2 | awk '{printf "%0f MHz\n", $1/10000}'
C. Memory Details:
# echo "selclass qualifier memory ;info;wait;infolog" | /usr/sbin/cstm
# cat /var/adm/syslog/syslog.log | grep -i physical
11. LP Administration:
# lpsched # to start the scheduler.
# lpstop # to stop the scheduler.
# lpadmin -p pr0 ... # to add printer .
# accept pr0 # to accept the pr0
# denable pr0 # to enable pr0
# lpstat -t # to check lp status.
# cancel req_id # to cancel request.
# man lpadmin [# for details . ]
12. for LVM :
A. pvdisplay , vgdisplay , lvdisplay ...
B. To use MirrorDisk/UX to mirror internal disks. Take a look at this link(Mirroring Data Using LVM section):
http://docs.hp.com/hpux/onlinedocs/B2355-90672/B2355-90672.html
Link:
C. Also check Chapter 16 of LVM , of Recovery Handbook:
http://www.1402.com/documents/Logical%20Volume%20Manager.pdf
I hav etried to provide most of the things , very quickly , also dont forget to keep in touch with this forum , as this is the great source of knowledge than anything else,
Hope this will help you ,
Enjoy ,
hth,
Raj.