Questions tagged [hp-ux]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
20 views

can i recover a overwritten files in HPUX?

I have accidentally replaced a file contents with the old file using cp command in HP-UX, can i restore the previous contents somehow ? Please help
0
votes
0answers
9 views

setmemwindow hpux not working

I m trying to run three different services in my hpux 11.31 servr which loads different shared objects, for that i have enabled "setmemwindow" and set the max_mem_window as "3", but i m able to start ...
0
votes
2answers
33 views

Delete one type of file from specific directory however not from subdirectory

I am currently working on HP-UX and have a cron job which runs every morning which deletes file older than certain number of days based on retention policy. Recently I added a sub directory at the ...
0
votes
1answer
105 views

rsync (but also other commands) run with nohup gets sigterm

I'm connecting from my computer to a HP UX B.11.31 system and am running some very lengthy there commands using nohup so I can go to sleep and do something else for a few days while they complete. ...
0
votes
0answers
22 views

Swpackage doesn't set the state of a fileset

I'm trying to package a simple hello-world with swpackage (GNU swbis) and installing it with swinstall (HP-UX). I have created a simple PSF copying from swpackage manpage. distribution product ...
2
votes
1answer
35 views

What are the alternatives to swpackage?

I want to package a software for HP-UX (SD-UX) on a GNU/Linux operating system(for CI/CD reasons) but seems that swpackage is available only on HP-UX. What are the alternatives to swpackage?
0
votes
1answer
37 views

HP-UX swinstall error “INDEX file on the source did not exist or could not be read.” with a hand-crafted depot

I want to create a simple(?) software distribuition(package/SD-UX) containing a simple hello world shell script without using any tools provided by hpux for CI/CD reasons. I have handcrafted this ...
0
votes
0answers
24 views

authenticate against LDAP on HP UX

Trying to develop a program that can only grant access to legitimate LDAP users. PHP has been compiled without LDAP support, so this will have to be effected through the a command line tool. Is there ...
0
votes
1answer
95 views

How can I get a single column of output from the bdf command on HP-UX?

I would like to monitor disk space usage. I'm using HP-UX and the bdf command. I would like to check one directory and I can do that: bdf /exploit/ I would like to get only the row %used. How can I ...
2
votes
1answer
1k 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 ...
-2
votes
1answer
83 views

How to convert a certificate in .pfx format to .jks in HP-UX server

I have a task to convert a .pfx SSL certificate to .jks format in a HP-UX B.11.31 server to be configured in our application's server.xml file, (keystoreFile=) for our 8090 connector port.
0
votes
1answer
762 views

HPUX 11i v3 Auditing to a syslog server - Configuration

I had trouble setting up auditing on our HPUX system and sending the same to a SIEM solution as a multiline log. The issue was that audsys writes the log to binary files and I need it to be setup in ...
7
votes
1answer
161 views

HP-UX 10.20 software depots

I've been looking for HP-UX 9.X and 10.20 patches and it looks like I'm late to the party. I found the original FTP sites from HP have all been taken down. I'm sure that someone must have made a ...
1
vote
1answer
53 views

Stunnel and hpux: why this error?

I have compiled a stunnel build on hpux with those options ./configure \ --prefix=/opt/stunnel \ --sbindir=/opt/stunnel/sbin \ --mandir=/opt/stunnel/man \ --docdir=/opt/stunnel/doc \ --...
0
votes
1answer
458 views

HP-UX itanium cannot log in or connect

I just had this problem where suddenly I cannot ssh into my HP-UX itanium, but still can ping. Few hours before that, I was still able to so. I tried to force reboot (Pressing the power button). Then, ...
1
vote
1answer
56 views

Can you create a logical volume to be within a logical volume?

I'm using HP-UX. Basically the problem is I need another logical volume to test EVFS. At the moment, I can't add another physical volume to the sever. And it seems that all of the physical volume on ...
0
votes
1answer
366 views

SSL and programs like wget,curl with https on hpux

Simple question: every program (wget,curl,etc) which can use https works perfect on linux,and bad on hpux. See this example using https://google.com on linux wget https://www.google.com/ --2018-12-...
0
votes
0answers
33 views

Realvnc and hpux: how to run dtlogin via vnc at startup?

I know how to use a "simple" vnc session. vncpasswd vncserver and I had a cde session wich start on port 5901 vncviewer host:5901 But I want a "dtlogin" screen starting on port 5900 Like MacOS, ...
1
vote
1answer
115 views

Enabling Asynchronous IO at HP-UX Operating System

We are using HP-UX Itanium version B.11.31 and this server is used for running Sybase database version ASE15.7. I would like to know how to enable Asynchronous IO at Operating System level. I went ...
0
votes
0answers
14 views

How to find the apps/packages/patches/configurations pending for reboot on hp-ux?

A few config changes carried out, but didn't reboot. Now,I would like to know the patches/apps/packages/apps/configurations pending for reboot for change config verification purposes. While googling, ...
0
votes
1answer
65 views

How to find my hp server is 9000 or Integrity?

My server is HP Unix B.11.31 and I want to check whether it is 9000 type or Integrity type.
3
votes
1answer
64 views

Can hyperthread be enabled

I would like to know if hyperthread can be enabled on my operating system or not? I am using HP-UX Itanium, below is truncated output of machinfo Intel(R) Itanium(R) Processor 9560 (2.53 GHz, 32 ...
0
votes
3answers
95 views

how to get the logs of integrated command of find and mv?

I used this command to my script to find specific files and to moved to different folder; however, I would need to generate a log of which file/s I have moved. find $1* -prune -name "*.$2" -mtime +$3 ...
2
votes
2answers
1k 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 ...
0
votes
2answers
67 views

Move the oldest files into a directory, source directory has more than 10,000 files constantly incoming

I am working on a command to move the x number of oldest files(FIFO) into a directory, is it better idea to pipe the "find" result into "ls" or just use the "ls" .. please suggest. ls -ltr `/bin/...
4
votes
2answers
730 views

Get List of Directories and Timestamp in a specific format in HP-UX

I am on HP-UX B.11.11 OS. My requirement is to display a list of directories only and the last modified time format should be DD-MON-YYYY HH:MI:SS AM/PM. I am able to get the list using either ...
3
votes
1answer
4k views

Command for swap info in HPUX itanium and HPUX PARISC?

I need to get commands for swap information in HPUX (both Itanium and PARISC).
1
vote
2answers
44 views

Pick out a date from a command response

I have a command response that looks something like that: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXX | XXX | Thu Oct 18 03:32:00 UTC 2018 XXX | ...
1
vote
2answers
481 views

Can you change permissions for a child directory that you do not own?

Picture a scenario in which you have a parent and a child directory. In the parent directory you have given group rwx. Below that directory you have a directory in which the group permissions are --- (...
2
votes
3answers
509 views

find . * -exec ll {} \; -> with just one result instead of four

I'd like to use find command to search all files in one directory: find . * -exec ll {} \; Result shows four (!) results per file: file123 ./test/file123 file123 test/file123 Is it possible to ...
0
votes
4answers
381 views

How to sort ll output

ll returns this result: 51380224 Aug 3 08:23 tig_10.d1 51380224 Aug 3 08:18 tig_10.d10 51380224 Aug 3 08:20 tig_10.d11 51380224 Aug 3 08:23 tig_10.d12 51380224 Aug 3 08:21 tig_10.d13 51380224 ...
20
votes
5answers
36k 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 ./var/can/projs/ar/rep/...
5
votes
3answers
1k views

quotes inside backticks inside quotes in ksh

I'm trying to get the file of the current date with the following command in HP-UX Unix: $ ls -lrt ABC.LOG* |grep "`date +"%b %d"`" But, it's giving me the error: ksh: : cannot execute grep: can't ...
1
vote
1answer
64 views

Why does it take longer to add new files to a directory that has a large number of files in it?

Back in 2011 we had a peculiar problem. We noticed that the processing tool for one of our clients was taking a long time processing ~20000 p/hr. Since we needed to process upwards 3 million files a ...
0
votes
1answer
518 views

unable to spool through shell(ksh)

I've written a shell script in which i've defined variables : Last_Month,last_date and first_date and i'm trying to execute the below sql from the shell : /app/oracle/product/10.2.0/bin/sqlplus -s ...
0
votes
1answer
200 views

hp-ux ps,what the difference between sleeping and waiting?

On hpux ps -efl I see on output the letter S,which mean "state of process" I see voices like S(sleeping) and W(waiting) I know(hope is correct) Sleeping mean "waiting for event",but what does it ...
0
votes
0answers
131 views

Hpux: /etc/group nogroup has -2,what does it mean?

On Hpux grep "nogroup" /etc/group return nogroup:*:-2: Nogroup is name,* mean "shadow" enabled,but what does it mean -2?
2
votes
1answer
5k 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% / /...
1
vote
3answers
364 views

SED command to comment all the lines except the one's that matched the pattern

I have the below cron.txt file 58 18 * * 1-5 /usr/home/script.sh REP CXC BS TODAY all 1>/dev/null 2>/dev/null 00 19 * * 1-5 /usr/home/script.sh DSC DXC BUS TODAY all 1>/dev/null 2>/dev/...
-1
votes
1answer
45 views

Fetch a number of variable length from a file using pattern matching?

I have many files on UNIX and wish to fetch number in that file associated with a specified pattern. Most of the file will have a unique pattern in file like below some text abc some text abc some ...
1
vote
2answers
371 views

How to extract specific pattern from a file in HP-UX

I would to like extract the pattern "/oracle" from a file. I tried with "grep -w" command but it returned all the lines which have oracle word. I need to extract only /oracle. Please tell me if any ...
0
votes
0answers
175 views

HP:the arguments in killall beyond `man killall`

In the tutorial here : /usr/bin/killall -HUP rsyslogd For the command : /usr/bin/killall -HUP rsyslogd In my os,the synopsis info in man killall SYNOPSIS killall [-Z, --context pattern] [-...
0
votes
1answer
673 views

HPUX top command out put regarding memory explained

While we run top on HP-UX ksh console we can see set of memory related value. Out of that I want to get the total physical memory and free memory. The output would look like follows on multiple run ...
1
vote
2answers
6k views

Find command not working in shell script

I have a to find for list of words in a list of files. Hence I have put the list of words in a file, and using for loop trying to read each word in a file and use find command to grep for that word in ...
4
votes
3answers
21k views

Search string in many files on HP-UX

I need to find which files (they can have space in the filename) of a directory contains a string using only sh and system's commands (Perl is not an option). For a few files, this command works fine:...
4
votes
1answer
105 views

Getting terminal access on old, strange hardware

I have an old, esoteric piece of special-purpose hardware (it's a HP logic analyser system). It's running HP-UX (because OLD). Right now, it boots right into an X session with the special logic-...
1
vote
1answer
871 views

How to call another shell script within AWK

I wish to call another shell script tm.sh within AWK. I'm trying as below but its not working as no error during executing this command but output doesn't display that I coded into tm.sh. please help ...
0
votes
1answer
134 views

hp-ux admin tool lsof fuser for B.11.31

centrpt:oracle> uname -r B.11.31 We need lsof and fuser as there are unclosed file handler so we cannot reclaim disk space after reboot. Where we can get the tool for this dated version of HP-UX ??...
3
votes
1answer
297 views

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

I'm not a Unix admin myself, but I work with Unix servers on a regular basis and am fairly familiar with their workings. So maybe this is something obvious, but it's not something I can find an answer ...
1
vote
1answer
470 views

How to clone HP-UX server to another fresh server

I have a HP-UX box and i want to clone the same to other server. Lets assume HP-UX(A) and other server(B) <SERVER_NAME> $ uname -a HP-UX <SERVER_NAME> B.11.23 U 9000/800 1544735064 ...