Operating System - HP-UX
1825766 Members
2077 Online
109687 Solutions
New Discussion

HP_UX tips tricks & scripts for easy configuration and win 10 points

 
SOLVED
Go to solution
Yogeswar
Frequent Advisor

HP_UX tips tricks & scripts for easy configuration and win 10 points

Dear all,

Please restart this thread so that it will be use ful for everyone.. whoever submits tips tricks I will assign 10 points
10 REPLIES 10
Court Campbell
Honored Contributor

Re: HP_UX tips tricks & scripts for easy configuration and win 10 points

I don't need 10 points, but I find this site pretty helpful:

http://web.tampabay.rr.com/batcave/ServerBuilds.htm

Also, I would suggest for people to actually use the search functionality for the forums. I am still flabbergast at the number of posts that ask the same questions.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Yogeswar
Frequent Advisor

Re: HP_UX tips tricks & scripts for easy configuration and win 10 points

Court, that was a great start since you don't need 10 points I am giving you 9points he he.

Thanks a lot

Yogeswar
James R. Ferguson
Acclaimed Contributor
Solution

Re: HP_UX tips tricks & scripts for easy configuration and win 10 points

Hi:

I think you mean the following (open the first and you will also see the URLs to the predecesors!):

http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=51050&admit=109447627+1209751193746+28353475

Regards!

...JRF...
Shrikant Lavhate
Esteemed Contributor

Re: HP_UX tips tricks & scripts for easy configuration and win 10 points

Hi,

>>tricks n scripts for easy configuration????

No clues :o
You mean to say easy troubleshooting or easing day today monitoring kinda stuff?

I came across a thread which has hell lotta bunch of scripts for day today activities but I didnt bookmarked it.
That thread was very good collection of scripts one admin needs in his life!

Also nice site for some tips of hpux : http://www.hpux.ws/



-=ShRi=-
Will it remain a personal, if I broadcast it here!
Court Campbell
Honored Contributor

Re: HP_UX tips tricks & scripts for easy configuration and win 10 points

It's not that. Giving away 10 points to everyone will probably not get you many replies. A lot of the people that provide help like to get points because they deserve them, not because it was easy. One of my quotes is "Respect the hat." It's hard to respect something anyone can get.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Jeeshan
Honored Contributor

Re: HP_UX tips tricks & scripts for easy configuration and win 10 points

Hi

1. How about this which shows the memory and cpu usage of every processes.
#export UNIX95=1;ps -ef -o comm,pcpu,vsz,args | grep

2. Never let the HP Engineer left before the system back to normal after repair (Sorry to all HP Engineers), this is what I have seen in my experience.
3. Do't touch any accessories without wear the earthing stripe.
a warrior never quits
Jeeshan
Honored Contributor

Re: HP_UX tips tricks & scripts for easy configuration and win 10 points

Yeah, thats write guys. and i think ITRC is the resource center for such kind of tricks.
a warrior never quits
Rasheed Tamton
Honored Contributor

Re: HP_UX tips tricks & scripts for easy configuration and win 10 points

Hi Yogeswar,

To overcome the -mtime, -atime, -ctime limitations of find on HP-UX, I normally use the -newer option of find with touch command as below. I found it useful on many times for me as well as the forum members:


cd /tmp

(create a file named filen with a time stamp of 0900 May 3, 2008)

[ 2008 05 03 0900 ]

/tmp #touch -mt 200805030900 filen

list the file to check the time stamp:
/tmp # ll filen
-rw-rw-rw- 1 root sys 0 May 3 09:00 filen

Find all files in /tmp dir created after 0900 today (May 3)

/tmp #find /tmp -xdev -type f -newer /tmp/filen -exec ls -l {} +


It would list all the files created after 0900 May 3.

For my 10 bucks!

Regards,
Rasheed Tamton.
vjta
Regular Advisor

Re: HP_UX tips tricks & scripts for easy configuration and win 10 points

Hi yogeshwar

Its really nice thread u started.
Its very much useful for members like me who are new to this field. Thanks a lot!

By viewing this thread replies i can gain the knowledge.

pls put some lights on LVM specifically PEs LEs & their calculations & all.


Thanks Once Again!

regards
Vjta
Vijeta Bhedi
Steven E. Protter
Exalted Contributor

Re: HP_UX tips tricks & scripts for easy configuration and win 10 points

Shalom,

Big TIP:
Read and use http://forums.itrc.hp.com regularly

http://www.hpux.ws

My own blog based tips site.

Good Luck.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com