How to find the memory in HP-Unix?


 
Thread Tools Search this Thread
Operating Systems HP-UX How to find the memory in HP-Unix?
# 8  
Old 08-05-2008
If you have the Support Tools Manager installed
which is part of the Online Diagnostics Bundle from the
half yearly issued Support PLUS Patch Bundles by HP
and doesn't require an extra license
(it is highly recommended to have it installed for various other diagnostics)
then you could query the memory map like
Code:
$ echo "sc prod memory;info;wait;il"|/usr/sbin/cstm |grep -i total.*memory
    Total Configured Memory   : 8192 MB

This is the release I use on this box for instance
Code:
$ /usr/sbin/swlist -l bundle OnlineDiag|grep ^[^#]
  OnlineDiag    B.11.11.20.02  HPUX 11.11 Support Tools Bundle, December 2007

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

How to find the used memory in HP-UX?

Hi all, Can any please provide how to calculate the cpu and memory usage of HP-UX server. Thanks in advance. (6 Replies)
Discussion started by: ssk250
6 Replies

2. AIX

How to find AIX Free Memory?

All, AIX: 6.1 64 bits How to find out Free memory available on AIX 6.1 64 bits When I used : svmon -G size inuse free pin virtual mmode memory 1048576 612109 191151 215969 549824 Ded-E pg space 4325376 ... (1 Reply)
Discussion started by: a1_win
1 Replies

3. Red Hat

how to find out free memory?

hi, I have done the below, but am confused as to how much memory is "free" please help thanks $ free total used free shared buffers cached Mem: 132033488 48827536 83205952 0 1007696 45404632 -/+ buffers/cache: 2415208 ... (7 Replies)
Discussion started by: JamesByars
7 Replies

4. Solaris

Unable to find 8 gb of memory

I 've one box with 16gb of RAM and top, vmstat showing 8712M free , i 'm unable to find which process is eating up rest of the memory , the system is not running anything at the moment. (14 Replies)
Discussion started by: fugitive
14 Replies

5. Shell Programming and Scripting

Unix Script to find and kill a process with high memory utilization

Hi Unix Gurus i am somewhat new to unix scripting so need your help to create a script as below. # This script would find the process consuming memory beyond a certain #limit. if the meemory consumption is more than 100% for a period of 1 # minute for the specific process. the script would... (0 Replies)
Discussion started by: robinforlinux
0 Replies

6. Solaris

How to find Total and Free Physical Memory and Logical Memory in SOLARIS 9

Hi, Im working on Solaris 9 on SPARC-32 bit running on an Ultra-80, and I have to find out the following:- 1. Total Physical Memory in the system(total RAM). 2. Available Physical Memory(i.e. RAM Usage) 3. Total (Logical) Memory in the system 4. Available (Logical) Memory. I know... (4 Replies)
Discussion started by: 0ktalmagik
4 Replies

7. UNIX for Advanced & Expert Users

How to find memory and other resources in AIX

Hi, Im trying to find memory and other resources in IBM AIX. Please let me know how to do this. (3 Replies)
Discussion started by: R00tSc0rpi0n
3 Replies

8. Filesystems, Disks and Memory

how to find memory capacity.

Hi, In Sun solaris o/s how can i find the memory space available,Swap space. By giving df command i can get the disc space. I want RAM space & swap space. If anybody assist me.that is great. Thanks (2 Replies)
Discussion started by: Mar1006
2 Replies

9. HP-UX

How to find memory used by a process

Hi, Can anyone help me out in writing the shell scrip which monitors a process which is running and gives me the output of the memory being used by the process, I have the requirement of monitorig the memory usage of the process when it is running. Please help me out (3 Replies)
Discussion started by: vijayagiri
3 Replies

10. UNIX for Dummies Questions & Answers

To find processor speed & memory in HP Unix 10.2

I have a D series HP server with HP UNIX 10.20 as the OS. How will I obtain the processor speed and memory of the machine. I have 'root' privileges. (4 Replies)
Discussion started by: augustinep
4 Replies
Login or Register to Ask a Question
CURLOPT_UNIX_SOCKET_PATH(3)				     curl_easy_setopt options				       CURLOPT_UNIX_SOCKET_PATH(3)

NAME
CURLOPT_UNIX_SOCKET_PATH - set Unix domain socket SYNOPSIS
#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_UNIX_SOCKET_PATH, char *path); DESCRIPTION
Enables the use of Unix domain sockets as connection endpoint and sets the path to path. If path is NULL, then Unix domain sockets are dis- abled. An empty string will result in an error at some point, it will not disable use of Unix domain sockets. When enabled, curl will connect to the Unix domain socket instead of establishing a TCP connection to a host. Since no TCP connection is created, curl does not need to resolve the DNS hostname in the URL. The maximum path length on Cygwin, Linux and Solaris is 107. On other platforms it might be even less. Proxy and TCP options such as CURLOPT_TCP_NODELAY(3) are not supported. Proxy options such as CURLOPT_PROXY(3) have no effect either as these are TCP-oriented, and asking a proxy server to connect to a certain Unix domain socket is not possible. The application does not have to keep the string around after setting this option. DEFAULT
Default is NULL, meaning that no Unix domain sockets are used. PROTOCOLS
All protocols except for file:// and FTP are supported in theory. HTTP, IMAP, POP3 and SMTP should in particular work (including their SSL/TLS variants). EXAMPLE
Given that you have an nginx server running, listening on /tmp/nginx.sock, you can request a HTTP resource with: curl_easy_setopt(curl_handle, CURLOPT_UNIX_SOCKET_PATH, "/tmp/nginx.sock"); curl_easy_setopt(curl_handle, CURLOPT_URL, "http://localhost/"); If you are on Linux and somehow have a need for paths larger than 107 bytes, you could use the proc filesystem to bypass the limitation: int dirfd = open(long_directory_path_to_socket, O_DIRECTORY | O_RDONLY); char path[108]; snprintf(path, sizeof(path), "/proc/self/fd/%d/nginx.sock", dirfd); curl_easy_setopt(curl_handle, CURLOPT_UNIX_SOCKET_PATH, path); /* Be sure to keep dirfd valid until you discard the handle */ AVAILABILITY
Since 7.40.0. RETURN VALUE
Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. SEE ALSO
CURLOPT_OPENSOCKETFUNCTION(3), unix(7), libcurl 7.54.0 December 21, 2016 CURLOPT_UNIX_SOCKET_PATH(3)