Directory Mappings HP-UXLINUXSOLARISAIX
Root filesystem/          {/dev/vg00/lvol1}/                  {/dev/sda1}/  {/dev/vx/dsk/rootvol}/              {/dev/hd4}
Home Directory/home      {/dev/vg00/lvol4} /export/home/home          {/dev/hd1}
       /dev/vx/dsk/home}
 /tmp       {/dev/vg00/lvol6} /tmp /tmp           {/dev/hd3}
    /dev/vx/dsk/swapvol}
 /usr       {/dev/vg00/lvol7} /usr /usr           {/dev/hd2}
 /var       {/dev/vg00/lvol8} /var/var        {/dev/hd9var}
Sample configuration files/usr/newconfig   -
User AccountsHP-UXLINUXSolarisAIX
Password files/etc/passwd/etc/passwd/etc/passwd /etc/passwd
/tcb/files/auth/r/root/etc/shadow/etc/shadow/etc/security/passwd
Groups file/etc/group/etc/group/etc/group/etc/group
/etc/logingroup/etc/security/group
Maximum # of user ID21474836476553521474836474294967295
Allow/Deny remote login/etc/securetty/etc/securetty/etc/default/login/etc/security/user
{console}{ttyp1}{CONSOLE=/dev/console}{rlogin=true}
User nobody's id #-29960001 & 65534(nobody4)4294967294
Group nobody's id #-2(nogroup)9960002 & 65534(nogroup)4294967294
Recover root password>bootlinux Sboot cdrom -sboot from CD/Tape
Interact with IPL ? Yvi /etc/shadowmount /dev/c0t0d0s0 /mntInstallation/Maintenance
ISL>hpux -is vi /mnt/etc/shadowStart Limited Shell
vi /tcb/files/auth/r/root  getrootfs hdisk0
vi /etc/shadow  vi /etc/security/passwd
Create new useruseradduseradduseraddmkuser
Delete useruserdeluserdeluserdelrmuser
List userslogins loginslsuser -f ALL
Modify user accountusermodusermodusermodchuser -a
General CommandsHP-UXLINUXSolarisAIX
Unique host IDuname -ihostidhostidhostid
Administratorsamlinuxconfadmintoolsmit
Performance monitortop ,  gpmtoptop , perfmetertop  , topas , xmperf
glancemonitor , netmon
System activity reportersar sarsar
Virtual Memory statisticsvmstatvmstatvmstatvmstat
I/O statisticsiostat iostatiostat
하드웨어 상태 점검  /usr/platform/sun4u/sbin/prtdiag -v  
Error logsdmesgdmesg dmesgalog -o -t boot
errpt
Physical RAM4TB64 GB {>2.3.24}16TB1M TB 
Shared Memory8TBsysctl kernel.shmmax 64K TB 
Process Data Space4TB900 MB  384K TB 
Swap device/dev/vg00/lvol2/dev/sda2/dev/vx/dsk/swapvol/dev/hd6
Swap file typeswappartition type 82 swap/etc/swapspaces
Display swap sizeswapinfo -afreeswap -llsps -a
Activate Swapswapon -aswapon -aswap -aswapon -a
PrintersHP-UXLINUXSolarisAIX
Printer Queues/etc/lp/interface/*/var/spool/lpd/lp/*/etc/lp/interfaces/*/etc/qconfig
Stop LP lpshut/etc/init.d/lpd stop/usr/lib/lp/lpshutstopsrc -s lpd
Start LPlpsched/etc/init.d/lpd start/usr/lib/lp/lpschedstartsrc -s lpd
Submit print jobslplprlpenq
lprlp
 lpr
 qprt
LP statisticslpstatlpqlpstatenq -A
lpq
lpstat
qchk
Remove print jobscancellprmcancelcancel
lprmlprm
 qcan
 enq -x
Add printer queuelpadmin -p pqprinttoollpadmin -p pqsmit mkpq
Remove Printer queuelpadmin -x pq lpadmin -x pqsmit rmpq
Make default printerlpadmin -d pq lpadmin -d pqexport LPDEST="pq"
TCP/IPHP-UXLINUXSolarisAIX
Network IP configuration/etc/rc.config.d/netconf/etc/sysconfig/network-scripts/ /etc/hostname.*lsattr -E -l inet0
/etc/inet/*
/etc/defaultrouter
Hosts IP addresses/etc/hosts/etc/hosts/etc/inet/hosts/etc/hosts
Name service switch/etc/nsswitch.conf/etc/nsswitch.conf/etc/nsswitch.conf/etc/netsvc.conf
Network parametersndd -hsysctl -a | grep netndd /dev/[tcp|ip] ?no -a
Routing daemongatedroutedin.routedgated
NIC Configurationslanscan –vifconfig -aifconfig -aifconfig -a
lanadmin
Secondary IP Addressifconfig lan0:1 IP modprobe ip_aliasifconfig hme0:1 IP upifconfig en0 alias IP 
ifconfig eth0:1 IP
Login prompttelnetd -b /etc/issue /etc/issueBANNER @HERALD @
/etc/default/telnetd/etc/security/login.cfg 
Increase the # of pseudo-terminalsrebuild your kernel with these new values NPTY=# cd /dev{/etc/system}odmget -q "attribute=num and uniquetype=pty/pty/pty" PdAt | sed "s/0-64/0-512/" |
NSTRPY=# ./MAKEDEV -v ptyset pt_cnt = #   {SYSV}odmchange -q "attribute=num and uniquetype=pty/pty/pty" -o PdAt 
  set npty = #      {BSD}  
reboot   chdev -l pty0 -anum=256 -P
  {/etc/iu.ap}reboot
insf -d ptys -n # ptsl 0 # ldterm ttcompat  
insf -d ptym -n #   
insf -d pts -s # -e -v halt 
  boot -r 
Maximum # of ptys{MAXUSERS}256176                {BSD}512
3000              {SYSV}
Remote Shellremshrshrshremsh
rsh
YP/NIS service binder/usr/lib/netsvc/yp/ypbind /sbin/ypbind/usr/lib/netsvc/yp/ypbind/usr/lib/netsvc/yp/ypbind 
System FilesHP-UXLINUXSolarisAIX
NFS exported/etc/exports/etc/exports/etc/dfs/dfstab/etc/exports
/etc/dfs/sharetab
NFS Client mounted directories/etc/xtab/var/lib/nfs/xtab/etc/rmtab/etc/xtab
Max File System128 GB2 TB 1 TB128 GB
Max File Size128 GB2 GB     {512B block size} 1 TB64 GB
8192 GB  {8KB block size} 
Max # File Descriptors60~ Ksysctl fs.file-max64 K64 K
DISK/LVM CommandsHP-UX:Disk &FilesystemLINUXSOLARISAIX
Filesystem table/etc/fstab/etc/fstab/etc/vfstab/etc/filesystems
Free disk blocksbdfdf -kdf -kdf -k
Device listing/sbin/ioscancat /proc/devicessysdeflsdev -C
Disk informationdiskinfo /dev/rdsk/c#t#d#cat /proc/scsi/scsi0/sda/modelformat -d c#t#d#bootinfo -s hdisk# 
format>current
format>inquiry
Disk Labelpvdisplay -v /dev/dsk/C#t#d#fdisk -lprtvtoclspv -l hdisk#
LVM Conceptslogical extentslogical extentssub diskPartition 
 logical volumelogical volumeVolumeVolume
   Plex 
 volume groupvolume groupdisk groupVolume group
Journal Filesystem typevxfsext2vxfsjfs
Default volume group/dev/vg00 /dev/vx/dsk/rootdg/dev/rootvg
Display volume groupvgdisplay -v vg00vgdisplay -vvxprint -l -g rootdglsvg -l rootvg
Modify physical volumepvchangepvchange chpv
Prepare physical diskpvcreatepvcreatevxdiskaddmkdev -c disk -l hdisk#
List physical volumepvdisplaypvdisplayvxprint -dllspv
Remove disk from volume groupvgreducevgreducevxdg rmdiskreducevg
Move logical volumes to another physical volumespvmovepvmovevxassist movemigratepv
Create volume groupvgcreatevgcreatevxdg initmkvg
Remove volume groupvgremovevgremove  
Volume group availabilityvgchangevgchange chvg
varyonvg
varyoffvg
Restore volume groupvgcfgrestorevgcfgrestore  
Exports volume groupvgexportvgexportvxdg deportexportvg
Imports volume groupvgimportvgimportvxdg importimportvg
Volume group listingvgscanvgscan lsvg
Change logical volume characteristics lvchangelvchange vxedit setchlv
List logical volumelvdisplaylvdisplayvxprint -vllslv
Make logical volumelvcreatelvcreatevxassist makemklv
Extend logical volumelvextendlvextendvxassist growtoextendlv
Reduce logical volumelvreducelvreduceAIX reduce LVextendlv
Remove logical volumelvremovelvremovevxedit rmrmlv
Prepare boot volumeslvlnbootlilovxbootsetupbootlist -m normal
Remove boot volumeslvrmboot   
Extend File systemextendfs /dev/vg00/lvol8resize2fsvxvachfs -a size=#
fsadm -F vxfs -b {LE * 1024}mkfs -M
Reduce/Split mirrorslvsplitlvsplit rmlvcopy
Merge mirrorslvmergelvmerge  
Create mirrorslvcreate -m 1 vxassist mirrormklv -c 2
Add mirrorslvextend -m 1  mklvcopy lv 2 
Create striped volumeslvcreate -i 3 -I 64lvcreate -i 3 -I 64vxassist make vol 100mb layout=raid5mklv -u 3 -S 64K
System recovery tape/opt/ignite/bin/make_recovery  mksysb -i /dev/rmt0
BackupFbackup`tar cvf /dev/rst0 /tar cvf /dev/rmt/0 ./etcsavevg -i rootvg
tar cvf /dev/rmt/0m   ./usr ./var ./etc 
tar cvf /dev/rmt/0mn  ./usr ./var ./etctar cvf /dev/rmt0 ./usr 
 tar cvf /dev/rmt1 ./usr
Restorefrecovertar xvf /dev/rst0 ufsrestorerestvg 
MISCHP-UXLINUXSOLARISAIX
Startup script/sbin/rc/etc/rc.d/rc/sbin/init.d/etc/rc
Kernel/stand/vmunix/boot/vmlinuz/kernel/genunix/usr/lib/boot/unix_up
Kernel Parameterssysdef sysctl -asysdef -ilsattr -E -l sys0
kmtune 
kmsystem
Reconfigure the kernelcd /stand/buildcd /usr/src/linux vi /etc/system 
/usr/lbin/sysadm/system_prep -v -s systemmake mrproper rebootchdev -l sys0 -a 
vi systemmake menuconfig   
mk_kernel -s systemmake dep   
cd /standmake clean   
mv system system.prevmake bzimage  
mv vmunix vmunix.prevmake install  
mv dlkm dlkm.prevmake modules  
mv /stand/build/system systemmake modules_install   
kmupdate /stand/build/vmunix_test   
 cp arch/i386/boot/bzImage /boot/vmlinuz-2.2.16  
 mkinitrd /boot/initrd-2.2.16.img  
 vi /etc/lilo.conf  
 lilo   
List moduleskmadmin -sLsmodmodinfo 
Load modulekmadmin -LInsmodmodload 
Unload modulekmadmin -URmmodmodunload 
Initialize systemset_parms initialNetconfsys-unconfiginstall_assist
Physical RAMgrep -i Physical /var/adm/syslog/syslog.logFreeprtconfbootinfo -r
Kernel Bitsgetconf KERNEL_BITSgetconf WORD_BITisainfo –kv  (getconf WORD_BIT)getconf WORD_BIT
Crash utilityadblcrashcrashcrash
Trace System CallstuscStracetrusssyscalls
Machine modelmodeluname –muname -impuname -m
uname -mbootinfo -m
OS Leveluname -runame –runame -roslevel
Run Levelwho -rRunlevelwho -rwho -r
Core dump files/var/adm/crash /var/crash/`uname -n`/var/adm/ras
Boot single user>bootlinux Sok boot -sKey on service mode/F4
Interact with IPL ? YBoot from CD/Tape
ISL>hpux -iSSelect Maintenance
 Limited function Shell
Maintenance mode>boot ok boot -as 
Interact with IPL ? Y
ISL>hpux -lm
Interrupt Keycontrol-B Stop-A 
Return to consoleCo ok go 
Timezone Management/etc/TIMEZONE/etc/sysconfig/clock/etc/TIMEZONE/etc/environment
/etc/default/init/etc/profile
 .profile .profile/etc/environment
Path setenv /etc/profile/etc/profile/etc/profile
 /etc/PATH  ,  /etc/MANPATH .profile
     
NTP Daemon/etc/rc.config.d/netdaemons/etc/ntp.conf/etc/inet/ntp.conf/etc/ntp.conf
/sbin/init.d/xntpd/etc/rc.d/init.d/xntpd/etc/init.d/xntpdstartsrc -s xntpd
SoftwareHP-UXLINUXSOLARISAIX
Install Softwareswinstallrpm -i packagepkgaddinstallp -a
Uninstall softwareswremoverpm -e packagepkgrminstallp -u
List installed softwareswlistrpm –qapkginfolslpp -L all
Verify installed softwareswlist -l fileset -a staterpm -V packagepkginfo -ilppchk -v
pkginfo -p
List all filesswlist -l file filesetrpm -ql packagepkgchk -l packagelslpp -f fileset
List installed patchesswlist -l patch patchadd -pinstfix -i
what /stand/vmunix
Package ownerswlist -l file | grep pathrpm -qf filepkgchk -l -p pathlslpp -w path
SW Directory/var/adm/sw//var/lib/rpm/var/sadm/usr/lpp
DevicesHP-UXLINUXSOLARISAIX
Devices/dev/dev/devices/dev
Install devices for attached peripheralsinsf –e/dev/MAKEDEVdrvconfigcfgmgr -v
devlinks
disks
tapes
ports
Remove deviceRmsf rem_drvrmdev -l
Device driversLsdev prtconf -Dlscfg
CPUioscan -fnC processor psrinfo -vlsdev -Cc processor
List Terminalioscan -fnC tty pmadm -llsdev -Cc tty
DiagnosticsStm /usr/platform/`uname -m`/diag
sbin/prtdiag
ok test-all
/opt/SUNWvts/bin/sunvts
Whole Disk/dev/dsk/c#t#d0/dev/sda/dev/c#t#d0s2/dev/hdisk#
CDROM/dev/dsk/c#t2d0/dev/cdrom/dev/dsk/c#t6d0s2/dev/cd0
mount –r /dev/~mount –r –t hsfs /dev/~mount –r –v cdrfs
 자동 mount 되며 mount 되지 않을 시
다음의 daemon restart
/etc/init.d/volmgt stop
/etc/init.d/volmgt start
cd 뺄때 eject
 
CDROM file typeCdfsiso9660hsfscdrfs
Rewinding tape drive/dev/rmt/0m/dev/rst0             { c 9 0}/dev/rmt/0/dev/rmt0
Non-rewinding tape drive/dev/rmt/0mn/dev/nrst0         { c 9 128 }/dev/rmt/0n/dev/rmt0.1
Floppy drive-/dev/fd0/dev/diskette/dev/rfd0


반도체물성 전체 솔루션.pdf


Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)


Select Case KeyCode

Case 37

MsgBox "LEFT Pressed"

Case 38

MsgBox "UP Pressed"

Case 39

MsgBox "RIGHT Pressed"

Case 40

MsgBox "DOWN Pressed"

Case Else


End Select

End Sub


를 추가 시키면 됩니다.

혹시 안되시면 쪽지 주세요..






key Code Constants 

=================== 

Constant                Value          Description 

vbKeyLButton         1                 Left mouse button 

vbKeyRButton         2                 Right mouse button 

vbKeyCancel          3                 CANCEL key 

vbKeyMButton        4                 Middle mouse button 

vbKeyBack             8                 BACKSPACE key 

vbKeyTab              9                 TAB key 

vbKeyClear            12                 CLEAR key 

vbKeyReturn          13                 ENTER key 

vbKeyShift             16                 SHIFT key 

vbKeyControl         17                 CTRL key 

vbKeyMenu           18                 MENU key 

vbKeyPause          19                 PAUSE key 

vbKeyCapital         20                 CAPS LOCK key 

vbKeyEscape        27                 ESC key 

vbKeySpace          32                 SPACEBAR key 

vbKeyPageUp        33                 PAGE UP key 

vbKeyPageDown    34                 PAGE DOWN key 

vbKeyEnd              35                 END key 

vbKeyHome           36                 HOME key 

vbKeyLeft              37                 LEFT ARROW key 

vbKeyUp               38                 UP ARROW key 

vbKeyRight            39                 RIGHT ARROW key 

vbKeyDown           40                 DOWN ARROW key 

vbKeySelect          41                 SELECT key 

vbKeyPrint             42                 PRINT SCREEN key 

vbKeyExecute       43                 EXECUTE key 

vbKeySnapshot     44                 SNAPSHOT key 

vbKeyInsert          45                 INS key 

vbKeyDelete         46                 DEL key 

vbKeyHelp            47                 HELP key 

vbKeyNumlock      144               NUM LOCK key 



KeyA Through KeyZ Are the Same as Their ASCII Equivalents: 'A' Through 'Z' Constant Value Description 

vbKeyA 65 A key 

vbKeyB 66 B key 

vbKeyC 67 C key 

vbKeyD 68 D key 

vbKeyE 69 E key 

vbKeyF 70 F key 

vbKeyG 71 G key 

vbKeyH 72 H key 

vbKeyI 73 I key 

vbKeyJ 74 J key 

vbKeyK 75 K key 

vbKeyL 76 L key 

vbKeyM 77 M key 

vbKeyN 78 N key 

vbKeyO 79 O key 

vbKeyP 80 P key 

vbKeyQ 81 Q key 

vbKeyR 82 R key 

vbKeyS 83 S key 

vbKeyT 84 T key 

vbKeyU 85 U key 

vbKeyV 86 V key 

vbKeyW 87 W key 

vbKeyX 88 X key 

vbKeyY 89 Y key 

vbKeyZ 90 Z key 


Key0 Through Key9 Are the Same as Their ASCII Equivalents: '0' Through '9 Constant Value Description 


vbKey0 48 0 key 

vbKey1 49 1 key 

vbKey2 50 2 key 

vbKey3 51 3 key 

vbKey4 52 4 key 

vbKey5 53 5 key 

vbKey6 54 6 key 

vbKey7 55 7 key 

vbKey8 56 8 key 

vbKey9 57 9 key 


Keys on the Numeric Keypad Constant Value Description 

vbKeyNumpad0 96 0 key 

vbKeyNumpad1 97 1 key 

vbKeyNumpad2 98 2 key 

vbKeyNumpad3 99 3 key 

vbKeyNumpad4 100 4 key 

vbKeyNumpad5 101 5 key 

vbKeyNumpad6 102 6 key 

vbKeyNumpad7 103 7 key 

vbKeyNumpad8 104 8 key 

vbKeyNumpad9 105 9 key 

vbKeyMultiply 106 MULTIPLICATION SIGN (*) key 

vbKeyAdd 107 PLUS SIGN (+) key 

vbKeySeparator 108 ENTER (keypad) key 

vbKeySubtract 109 MINUS SIGN (-) key 

vbKeyDecimal 110 DECIMAL POINT(.) key 

vbKeyDivide 111 DIVISION SIGN (/) key 


Function Keys Constant Value Description 

vbKeyF1 112 F1 key 

vbKeyF2 113 F2 key 

vbKeyF3 114 F3 key 

vbKeyF4 115 F4 key 

vbKeyF5 116 F5 key 

vbKeyF6 117 F6 key 

vbKeyF7 118 F7 key 

vbKeyF8 119 F8 key 

vbKeyF9 120 F9 key 

vbKeyF10 121 F10 key 

vbKeyF11 122 F11 key 

vbKeyF12 123 F12 key 

vbKeyF13 124 F13 key 

vbKeyF14 125 F14 key 

vbKeyF15 126 F15 key 

vbKeyF16 127 F16 key


+ Recent posts