티스토리 뷰

IA/System Admin

HP SnA 1일차 오후-3

kiostory 2012. 6. 20. 09:35

logout root
HP-UX rx233 B.11.31 ia64 hp server rx1620

login: root
Password:
Last successful login:       Mon Jun 18 16:07:29 KST 2012 ::ffff:59.29.224.128 
Last authentication failure: Mon Jun 18 14:57:47 KST 2012 /dev/console 
Please wait...checking for disk quotas
(c)Copyright 1983-2006 Hewlett-Packard Development Company, L.P.
(c)Copyright 1979, 1980, 1983, 1985-1993 The Regents of the Univ. of California
(c)Copyright 1980, 1984, 1986 Novell, Inc.
(c)Copyright 1986-2000 Sun Microsystems, Inc.
(c)Copyright 1985, 1986, 1988 Massachusetts Institute of Technology
(c)Copyright 1989-1993  The Open Software Foundation, Inc.
(c)Copyright 1990 Motorola, Inc.
(c)Copyright 1990, 1991, 1992 Cornell University
(c)Copyright 1989-1991 The University of Maryland
(c)Copyright 1988 Carnegie Mellon University
(c)Copyright 1991-2006 Mentat Inc.
(c)Copyright 1996 Morning Star Technologies, Inc.
(c)Copyright 1996 Progressive Systems, Inc.

Confidential computer software. Valid license from HP required for
possession, use or copying.  Consistent with FAR 12.211 and 12.212,
Commercial Computer Software, Computer Software Documentation, and
Technical Data for Commercial Items are licensed to the U.S. Government
under vendor's standard commercial license.

You have mail.

 

 

 

 

 

 

 

 

 


                                                                                                                                               
Value of TERM has been set to "vt100".
WARNING:  YOU ARE SUPERUSER !!


root@rx233   [/root]
#

root@rx233   [/root]
# echo "sam and smh shows the same smh display"
sam and smh shows the same smh display

root@rx233   [/root]
# whereis sam
sam: /usr/sbin/sam /usr/share/man/man1m.Z/sam.1m

root@rx233   [/root]
# ll /usr/sbin/sam
-r-xr-xr-x   1 bin        bin            258 Feb 16  2007 /usr/sbin/sam

root@rx233   [/root]
# ll -i /usr/sbin/smh
 30620 -r-xr-xr-x   1 bin        bin         110520 Dec  2  2010 /usr/sbin/smh

root@rx233   [/root]
# ll -i /usr/sbin/sam
 12227 -r-xr-xr-x   1 bin        bin            258 Feb 16  2007 /usr/sbin/sam

root@rx233   [/root]
# whereis smh
smh: /usr/sbin/smh /opt/prm/lbin/smh /usr/share/man/man1m.Z/smh.1m

root@rx233   [/root]

root@rx233   [/root]
# smhstartconfig

HPSMH 'autostart url' mode.........: on
HPSMH 'start on boot' mode.........: OFF
Start Tomcat when HPSMH starts.....: OFF
HPSMH on Apache 2.2................: on
HPSMH on Apache 2.0................: OFF


root@rx233   [/root]
# echo "we can connect to smh GUI through http://server:2301"
we can connect to smh GUI through http://server:2301

root@rx233   [/root]
# ps -ef |grep smhstart
    root  1890     1  0 15:39:31 ?         0:00 /opt/hpsmh/lbin/smhstartd

root@rx233   [/root]
# ps -f
     UID   PID  PPID  C    STIME TTY       TIME COMMAND
    root  5226  4845  1 16:25:45 pts/ta    0:00 ps -f
    root  4845  4844  0 16:15:53 pts/ta    0:00 -sh
    root  4844  1095  0 16:15:53 pts/ta    0:00 telnetd -b /etc/issue

root@rx233   [/root]
# ps
   PID TTY       TIME COMMAND
  5227 pts/ta    0:00 ps
  4845 pts/ta    0:00 sh
  4844 pts/ta    0:00 telnetd

root@rx233   [/root]
# ps -ef |grep init
    root     1     0  0 15:37:34 ?         0:00 init
    root    52     0  0 15:37:53 ?         0:00 mdep_initiator_thread
    root    56     0  0 15:37:54 ?         0:00 pagetable_init_daemon

root@rx233   [/root]
# ps -ef |grep inetd                                        
    root  1095     1  0 15:38:54 ?         0:00 /usr/sbin/inetd

root@rx233   [/root]
# ps -f
     UID   PID  PPID  C    STIME TTY       TIME COMMAND
    root  5375  4845  1 16:31:31 pts/ta    0:00 ps -f
    root  4845  4844  0 16:15:53 pts/ta    0:00 -sh
    root  4844  1095  0 16:15:53 pts/ta    0:00 telnetd -b /etc/issue

root@rx233   [/root]
# ps -ef |grep login
    root  2098  2073  0 15:39:34 ?         0:00 /usr/dt/bin/dtlogin

root@rx233   [/root]
# ps -ef |grep login
    root  2098  2073  0 15:39:34 ?         0:00 /usr/dt/bin/dtlogin
    root  5417  5416  0 16:33:30 pts/tb    0:00 login -h ::ffff:59.29.224.128 -p

root@rx233   [/root]
# tty
/dev/pts/ta

root@rx233   [/root]
# ps -f
     UID   PID  PPID  C    STIME TTY       TIME COMMAND
    root  5422  4845  0 16:33:51 pts/ta    0:00 ps -f
    root  4845  4844  0 16:15:53 pts/ta    0:00 -sh
    root  4844  1095  0 16:15:53 pts/ta    0:00 telnetd -b /etc/issue

root@rx233   [/root]
# ps -ef |grep pts
    root   808     1  0 15:38:48 ?         0:00 /usr/lbin/ntl_reader 0 1 1 1 1000 2 /var/adm/nettl /var/adm/conslog.opts 1
    root   809   808  0 15:38:48 ?         0:00 /usr/sbin/netfmt -C -F -f /var/adm/nettl.LOG000 -c /var/adm/conslog.opts
    root  5524  4845  0 16:34:47 pts/ta    0:00 ps -ef
    root  4845  4844  0 16:15:53 pts/ta    0:00 -sh
    root  4844  1095  0 16:15:53 pts/ta    0:00 telnetd -b /etc/issue

root@rx233   [/root]
# cat /etc/issue
HP-UX rx233 B.11.31 ia64 hp server rx1620

root@rx233   [/root]
# file /etc/issue
/etc/issue:     ascii text

root@rx233   [/root]
# ps -ef |grep smhstartd
    root  1890     1  0 15:39:31 ?         0:00 /opt/hpsmh/lbin/smhstartd

root@rx233   [/root]
# ps -ef |grep http

root@rx233   [/root]
# echo "basically http daemon is active status, https daemon is deactive"
basically http daemon is active status, https daemon is deactive

root@rx233   [/root]
# ps -ef |grep smhstart
    root  1890     1  0 15:39:31 ?         0:00 /opt/hpsmh/lbin/smhstartd

root@rx233   [/root]

댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2025/06   »
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
글 보관함