Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- ssh
- bash
- 단축키
- 네트워크
- resource
- vscode
- plugin
- netsh
- maVen
- Eclipse
- VirtualBox
- Windows 10
- web.xml
- grep
- import
- IntelliJ
- Quartz
- context
- Mac
- Source
- lsof
- Windows
- xargs
- profile
- GIT
- find
- JavaScript
- 줄바꿈 문자
- tomcat
- port
Archives
- Today
- Total
develog
[HP-UX] 시스템 확인 명령어 본문
HP-UX (Hewlett Packard Unix)
lanscan
netstat -in
netstat -rn
nwmgr
$ uname -a
HP-UX hpux B.11.31 U ia64
$ model
ia64 hp server rx2600
$ machinfo
CPU info:
2 Intel(R) Itanium 2 processors (1.5 GHz, 6 MB)
400 MT/s bus, CPU version B1
Memory: 8181 MB (7.99 GB)
...
$ hostname
hpux
$ cat /var/adm/syslog/syslog.log
# ifconfig lan0
lan0: flags=843<UP,BROADCAST,RUNNING,MULTICAST>
inet 192.168.1.7 netmask ffffff00 broadcast 192.168.1.255
## disk 사용량
$ bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 122880000 111007568 11792080 90% /
/dev/vg00/lvol1 1835008 150096 1671784 8% /stand
DevFS 3 3 0 100% /dev/deviceFileSystem
## disk 사용량
$ df -k
/dev/deviceFileSystem (DevFS ) : 0 total allocated Kb
0 free allocated Kb
0 used allocated Kb
100 % allocation used
/stand (/dev/vg00/lvol1 ) : 1821880 total allocated Kb
1671784 free allocated Kb
150096 used allocated Kb
9 % allocation used
/ (/dev/vg00/lvol3 ) : 122799648 total allocated Kb
11792080 free allocated Kb
111007568 used allocated Kb
91 % allocation used
## /var 디렉토리 사용량 보기 (전체 용량)
$ du -sk /var
86547368 /var
## /var 디렉토리 사용량 보기 (디렉토리 별)
$ du -sk /var/* | sort -rn
84615752 /var/adm
1620824 /var/mail
272968 /var/opt
24080 /var/jail
9320 /var/stm
2800 /var/spool
624 /var/vx
416 /var/tmp
144 /var/preserve
112 /var/sam
112 /var/run
104 /var/yp
104 /var/evm
8 /var/statmon
0 /var/uucp
0 /var/nfs4
0 /var/nfs
0 /var/news
0 /var/home
0 /var/empty
0 /var/asx
0 /var/X11
## 특정 디렉토리에서 서브 디렉토리 포함 파일 전체 리스트 보기
$ find /var -type f -exec ls -l {} \;
-r--r--r-- 1 bin bin 8049 7�� 11 2014 /var/opt/ignite/local/config
-rw-r--r-- 1 bin bin 629 7�� 11 2014 /var/opt/ignite/local/hw.info
-rw-r--r-- 1 bin bin 420 7�� 11 2014 /var/opt/ignite/local/host.info
-r--r--r-- 1 bin bin 14388 7�� 11 2014 /var/opt/ignite/local/manifest/template.def
-rw-r--r-- 1 bin bin 60 7�� 11 2014 /var/opt/ignite/local/manifest/manifest.seed
-rw-r--r-- 1 root sys 11274 7�� 11 2014 /var/opt/ignite/local/manifest/manifest
-rw-r--r-- 1 root sys 7562 7�� 11 2014 /var/opt/ignite/local/manifest/manifest.info
-rw-r--r-- 1 root sys 7562 7�� 11 2014 /var/opt/ignite/local/manifest/manifest.oinfo
-rw-r--r-- 1 root sys 11274 7�� 11 2014 /var/opt/ignite/local/manifest/manifest.orig
...
## 용량 큰 파일 찾기
$ du -k | sort -rn | page
https://cmdref.net/os/hpux/command/index.html
HP-UX Commands Cheat Sheet [cmdref.net - Cheat Sheet and Example]
cmdref.net
Comments