HP-UX (Hewlett-Packard Unix) is Hewlett-Packard's proprietary implementation of the Unix operating system.

learn more… | top users | synonyms (1)

1
vote
2answers
32 views

Get swap memory info where swapinfo not available

I have HP-UX box. I need to write shell script to see the swap memory. Unfortunately. The box don't have swapinfo command. Is there any alternative way to see the swap usage percentage? Please note ...
0
votes
1answer
797 views

HPUX logging ftp connection

Host is 11iV3. I am trying to log ftp transfert outside syslog.log in /etc/inetd.conf ftp stream tcp6 nowait root /usr/lbin/ftpd ftpd -u 022 -o -i -X where -i/-o tell ftpd to log ...
0
votes
2answers
6 views

How can i get an overview about env (environment variables) of all users on a system?

How can i get an overview about env (environment) of all users on a system? Status: i've got over 600 user in passwd, but each of them could have a env variable for a specifec project path (~10 ...
0
votes
1answer
11 views

How do I upgrade a program on HP-UX?

I've noticed HP-UX swinstall can install two different versions, or releases of the same program. But if I want to upgrade a program? Usually I do: swremove NAMEOFPRODUCT swinstall NAMEOFPRODUCT ...
0
votes
2answers
52 views

get day from date with append 0 in 1 to 9 digit

i am using awk command to get creation date of file and from that i m fetching day,month and year but for 1-9 digit i am getting output like 2016041 but i want output 20160401. D=$(ls -ltr $line | ...
0
votes
0answers
18 views

max stack size limit on HP UNIX

What is the max stack size limit of 32 bit process in HP-UX B.11.31 or what is the max stack size that can be alloacted to a 32 bit process in HP -UX
0
votes
2answers
36 views

hp-ux find command not working on a list of files

We're using the following hp-ux configuration: HP-UX dxp10hxw B.11.23 U 9000/800 1446354274 unlimited-user license And trying to run a simple find command as follows: find . ! -type l -perm -0020 ...
3
votes
2answers
50 views

Create directory named from file modification time

I want to create directory name from a file's modification time. For example, if the file creation or modification time is 03/17/2016 18:00:00 then I want to create a directory named 1703206. I'm ...
0
votes
1answer
38 views

Problem: Having file name contain Space and fetch the file [duplicate]

I am trying to get all file which is reside in one folder and file name have space like 1)File Test 050791.xml and i am fetching using below command export srcfileTimeCheck="$(find $dir -type f ...
0
votes
0answers
103 views

Problem typing @ character at command prompt under HP-UX

Under HP-UX Model :9000/800 O/S = B.11.11 Problem to type @ character on command prompt as well as in vi editor also. When I try to type "@" this character I won't get anything. line for export ...
0
votes
1answer
27 views

tigervnc and cmake on hpux: why cannot find zlib?

I use this script to configure tigervnc on hpux cmake is latest 3.4.3 zlib is latest 2.8 But script fail,why? export PATH=$PATH:/opt/cmake/bin/ export CC="/usr/local/bin/gcc" export ...
0
votes
1answer
19 views

HPUX throwing an RST 30 seconds after a sucessful NFS mount

We have an application written in Dot NET that basically allows Linux and Unix files to access symbolic links stored in the NFS "share". Customer was having issues with the NFS share becoming ...
0
votes
0answers
19 views

Apache and SSLVerifyClient

Please excuse any dumb statements regarding this. I am very new to Apache and to HP-UX. I am a SQL Server DBA and ended up on this project. I am working to try and implement SSL with Client Verify ...
3
votes
1answer
46 views

What is the purpose of the uucico shell on HP-UX, Solaris, and possibly other Unix varieties?

For my work, I review Unix and Linux server configurations for compliance with security guidelines. So I'm not a Unix admin myself, but I work with Unix servers on a regular basis and am fairly ...
12
votes
5answers
16k views

Is there a way to sum up the size of files listed?

This is the command I am using to list some files: find . -name \*.extract.sys -size +1000000c -exec ls -lrt {} \; -rw-r--r-- 1 qa1wrk15 test 1265190 Sep 29 01:14 ...
0
votes
1answer
62 views

HpUX: correct vgreduce

I want to remove a disk from root mirror. The disk to remove is /dev/disk/disk2_p2 lvreduce -m 0 /dev/vg00/lvol1 /dev/disk/disk2_p2 lvreduce -m 0 /dev/vg00/lvol2 /dev/disk/disk2_p2 lvreduce -m 0 ...
-1
votes
1answer
13 views

Hpux -lq and -lm

Simple and nice question about hpux In case of emergency i can boot with two options -lq -lm I know -lq is lost quorum on mirror,ok And -lm?Is lost mirror?What the difference with -lq?
3
votes
1answer
37 views

HP-UX: How to know if password was ever established?

In Linux systems, for a user 1) if the password was ever established, but the account is locked, then its shows in /etc/shadow file something like: <account>:!!<hashed password>:.... ...
1
vote
2answers
146 views

How to get yesterday date and stored into one variable

I am having a log file where I need to grep based on yesterday date. How to get the yesterday date. The time stamp in the log file is formatted as: Wed Sep 23 for two digit Wed Dec 1 for one digit ...
0
votes
0answers
28 views

HP-UX: is a swpackage codeworded?

I can use swlist to show installed package: swlist (abridged) # Initializing... # Contacting target "abcdef1"... (...) B2491BA B.11.31 MirrorDisk/UX (Server) ...
2
votes
0answers
37 views

How can I determine the most current available patches for HP-UX 11.31 without a support contract?

I'm working with an HP-UX 11.31 server which has been out of its support contract for about a month now. I'm trying to determine whether any patches have been released for HP-UX in that time that this ...
0
votes
1answer
26 views

How to find my hp server is 9000 or Integrity?

I am not a geek on Unix... My server is HP Unix B.11.31 and I want to check whether it is 9000 type or Integrity type. Is there any command to check? Regards Malai
1
vote
3answers
696 views

IPCS command for Shared memory and semaphore in Solaris, HP-UX and AIX

I know ipcs command for linux system, but now I'm looking for ipcs command for solaris, hp-ux and aix system, I have searched lot in websites, almost everyone suggest ipcs -am, ipcs -as or ipcs -a. ...
0
votes
0answers
127 views

Compiling 64bit Python on HP-UX (Itanium)

I'm trying to compile 64bit Python (2.7.10) on HP-UX (ia64), as per the Python readme, but can't seem to get it to work properly. This is what I'm using. I've also removed the "-O" from the OPT line ...
3
votes
2answers
409 views

Finding Process Info Associated to a Given Port in HP-UX

I need to find information for a process that's using a given port number, such as 8080. More specifically, I'm interested in finding out the full path of the program. How can I do that in HP-UX?
1
vote
2answers
96 views

find path directory in sub directory

I want to find the path for directory name bbb where the parent directory called aaa For example /aaa/bbb /tmp/aaa/bbb /usr/bin/aaa/bbb /home/aaa/bbb /home/aaa/xxx/bbb So i wrote something like ...
2
votes
2answers
37 views

HPUX: missing symbol

/opt/samba3/sbin/winbindd -d 100 -i produce /usr/lib/hpux32/dld.so: Unsatisfied code symbol '_nss_winbind_initgroups_dyn' in load module '/usr/lib/hpux32/libnss_winbind.so.1'. Killed How to ...
0
votes
1answer
64 views

How to create a new line?

In the below command I am sending the mail . in the mail the meter id is being sent if [ -s "$TMP_RPT_FILE" || -s "$TMP_RPT_FILE1" ] then if [ -s "$TMP_RPT_FILE" ] then ...
2
votes
3answers
187 views

How to print the before lines of search keyword with out using grep in a gz file?

How to print the lines before a search keyword without using grep in a .gz file? ID:342N000390AAAAAAAA 07/14/15 10:26 (MV90 ) * Register Data Imported * Warning - No ...
3
votes
2answers
205 views

check for “errors” or “ORA-”

I want to check for "errors" or "ORA-" in Y.if there is an error then exit Y=`sqlplus -s user/passwd<< EOF exec test_Proc; exit; EOF` if [ echo $Y | awk '/ERROR/ || /ORA-/' ] ; then exit 1 fi ...
15
votes
3answers
2k views

Is there an upper limit to the number of zombie processes you can have?

I used to work with an HP-UX system and the old admin told me there is an upper limit on the number of zombie processes you can have on the system, I believe 1024. Is this a hard fact ceiling? I ...
0
votes
1answer
152 views

HPUX: how to access to remote repo swagent?

I have one server with hpux,two clients even hpux The client are hpux3,and hpux4 The server is called hpux2,and serve a remote repo of depots if i try to install from hpux2,of course all works fine ...
8
votes
1answer
151 views

How to prevent HP-UX command “less” from messing up my prompt?

I don't like the output of more on HP-UX, so I use less instead as a pager: PAGER=less Its output is nice, but, on Linux, when I use man and then quit, I go back to the shell, and the display looks ...
0
votes
1answer
174 views

Cutting logs (and not copying) from a log file between two time stamps

I have a very huge access.log file of 2 Gb containing apache access logs. The date time format in that is as below : 04/May/2015:02:15:25 I want to cut (and not just copy) the logs from this ...
0
votes
1answer
107 views

hpux: ipmon on syslog.log

I have configured firewall for log,i want to write in a separate file log for ipmon. Reading on net they suggest to use local0.* or local0.debug on /etc/syslog.conf file. I make this local0.notice ...
0
votes
0answers
55 views

How to Login to HPUX VM from HPUX Host machine?

I installed a VM in HP Unix machine, I can login via SSH. I need to login via HPUX host machine. Is there any way doing that?
8
votes
2answers
443 views

Unix: a question about xargs

On AIX (but this happens on HP-UX as well), I have GNU ls in my path and it is also aliased as ls. But when i use xargs, it uses the standard Unix ls instead of the alias. For example (flocate is a ...
1
vote
1answer
76 views

hpux: strange dsf thing

Running setboot setboot Primary bootpath : 0/1/1/0.0.0 (No dsf found) HA Alternate bootpath : 0/0/2/0.0.0x0.0x0 (/dev/rdisk/disk3) Alternate bootpath : 0/1/2/1 (LAN Interface) My system boot fine,i ...
1
vote
2answers
520 views

Samba4 on HPUX 11.31

I'm tryng to setup hpux samba,i use this smb.conf [global] workgroup = DOMINIO realm = DOMINIO.COM server string = "" netbios name = HPUX2 security = ads hosts ...
1
vote
2answers
774 views

How can I remove a disk from a group with striped volumes?

I have an HP-UX B.11.11 system with two disks. I would like to remove one, but as far as I can divine, it seems that the volumes are striped across the pair and I can't figure out how to ...
1
vote
2answers
183 views

query all symbolic links to a directory

HP-UX ***B.11.31 U ia64 ***** unlimited-user license. $ ls -al 10 May 9 2011 HORCM -> /opt/HORCM 8 May 9 2011 bin -> /usr/bin 0 Mar 29 2012 core Feb 18 05:36 dev How do I list the link ...
0
votes
1answer
1k views

hpux: how much memory process eating?

I have found on web those two command line to see top 10 cpu and ram eating process ram echo " SZ PID RUSER COMMAND";UNIX95= ps -ef -o 'sz pid ruser args' |sort -nr|head -10 cpu echo " SZ PID ...
0
votes
1answer
281 views

Hot swapping a mirrored disk on a HP UX

I'm trying to do a hot swap on a mirrored lvm. $ vgdisplay -v /dev/vg00 --- Physical volumes --- PV Name /dev/dsk/c2t0d0s2 PV Status unavailable Total PE ...
1
vote
2answers
457 views

Migrate from Sendmail to Postfix

We have an HP-UX environment running HP-UX 11.31. The system was originally built to send email out through Sendmail. The server only sends email out, and the programmer has built a number of programs ...
2
votes
3answers
375 views

In HP-UX, how can I log Informational Only system event messages in syslog.log?

I was getting some Informational Only single-bit memory errors on a server for at least three weeks, but I only happened to notice them because I went looking through the SEL via the MP console for an ...
1
vote
1answer
2k views

How to Mirror one more disk on existing filesystem

In my test machine I can see the filesystem list using bdf commands. $bdf Filesystem kbytes used avail %used Mounted on /dev/vg00/lvol3 58916864 6242747 49386840 11% / ...
2
votes
2answers
269 views

React to incoming files in a directory on HP-UX

How can I achieve this logic using a script: Monitor new incoming files in a directory. If files are not received in the directory for 3 hours or if the received file is empty then do something. ...
2
votes
1answer
508 views

DSA/RSA keys work with Linux but not HP-UX

I have an NFS mount that I use to log into many Linux/Unix servers. I created a passphraseless RSA and DSA key from with I copied the id_rsa.pub and id_dsa.pub files over to authorized_keys. total 9 ...
1
vote
2answers
1k views

HPUX Logging Logins

I'm trying to enable security logging on some HPUX11 systems. I can get HPUX to generate a message that: a login is being attempted (username, no source IP) a login failed (no username or source ...
1
vote
1answer
570 views

List of killed processes HP-UX

Is there a file similar to the one in this answer http://unix.stackexchange.com/a/10078/5027 to determine the processes which were killed, in a certain time, for example, yesterday, in HP-UX?