시스템 사양 확인 명령 요약(Windows, Mac, Linux)

10008 단어 LinuxUbuntuWindowsMac

Windows


CPU / Memory


windows/commandline
$ systeminfo
출력:
Host Name:                 ----------
OS Name:                   Microsoft Windows 10 Pro
OS Version:                10.0.14393 N/A Build 14393
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Standalone Workstation
OS Build Type:             Multiprocessor Free
Registered Owner:          ----------
Registered Organization:   
Product ID:                00330-71308-38388-AAOEM
Original Install Date:     xxxx/xx/xx, ------
System Boot Time:          xxxx/xx/xx, ------
System Manufacturer:       System manufacturer
System Model:              System Product Name
System Type:               x64-based PC
Processor(s):              1 Processor(s) Installed.
                           [01]: Intel64 Family 6 Model 94 Stepping 3 GenuineIntel ~4001 Mhz
BIOS Version:              American Megatrends Inc. 1702, xxxx/xx/xx
Windows Directory:         C:\WINDOWS
System Directory:          C:\WINDOWS\system32
Boot Device:               \Device\HarddiskVolume2
System Locale:             ja;Japanese
Input Locale:              ja;Japanese
Time Zone:                 (UTC+09:00) Osaka, Sapporo, Tokyo
Total Physical Memory:     16,305 MB
Available Physical Memory: 12,114 MB
Virtual Memory: Max Size:  18,737 MB
Virtual Memory: Available: 13,961 MB
Virtual Memory: In Use:    4,776 MB
Page File Location(s):     C:\pagefile.sys
Domain:                    WORKGROUP
Logon Server:              \\DESKTOP-JK0JUVG
Hotfix(s):                 7 Hotfix(s) Installed.
                           [01]: KB3176935
                           [02]: KB3176936
                           [03]: KB3176937
                           [04]: KB3199209
                           [05]: KB3199986
                           [06]: KB3201860
                           [07]: KB3197954
Network Card(s):           1 NIC(s) Installed.
                           [01]: Intel(R) Ethernet Connection (2) I219-V
                                 Connection Name: イーサネット
                                 DHCP Enabled:    Yes
                                 DHCP Server:     xx.xx.xx.xx
                                 IP address(es)
                                 [01]: xx.xx.xx.xx
                                 [02]: xxxx::xxxx:xxxx:xxxx:xxxx
Hyper-V Requirements:      VM Monitor Mode Extensions: Yes
                           Virtualization Enabled In Firmware: Yes
                           Second Level Address Translation: Yes
                           Data Execution Prevention Available: Yes

Mac


CPU / Memory


mac/zsh
$ system_profiler SPHardwareDataType
출력:
Hardware:

Hardware Overview:

  Model Name: MacBook Pro
  Model Identifier: MacBookPro11,1
  Processor Name: Intel Core i5
  Processor Speed: 2.4 GHz
  Number of Processors: 1
  Total Number of Cores: 2
  L2 Cache (per Core): 256 KB
  L3 Cache: 3 MB
  Memory: 8 GB
  Boot ROM Version: MBP111.0138.B17
  SMC Version (system): 2.16f68
  Serial Number (system): C02LW1QHFH04
  Hardware UUID: BD8F525E-4A83-5C06-9FE8-6D7F1102DE78

Linux


CPU


ubuntu/zsh
$ cat /proc/cpuinfo | less
출력:
model       : 94
model name  : Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
stepping    : 3
microcode   : 0x74
cpu MHz     : 800.000
cache size  : 8192 KB
physical id : 0
siblings    : 8
core id     : 3
cpu cores   : 4
apicid      : 7
initial apicid  : 7
fpu     : yes
fpu_exception   : yes
cpuid level : 22
wp      : yes
flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm rdseed adx smap
bogomips    : 8012.45
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical, 48 bits virtual
power management:
・
・
・

*flags에 lm가 있으면 64bit 기계인 줄 알아요.

Memory


ubuntu/zsh
$ cat /proc/meminfo
출력:
MemTotal:       16353180 kB
MemFree:        14222580 kB
Buffers:           60696 kB
Cached:           775060 kB
SwapCached:            0 kB
Active:          1102068 kB
Inactive:         680296 kB
Active(anon):     947620 kB
Inactive(anon):   215492 kB
Active(file):     154448 kB
Inactive(file):   464804 kB
Unevictable:          48 kB
Mlocked:              48 kB
SwapTotal:      47437820 kB
SwapFree:       47437820 kB
Dirty:               100 kB
Writeback:             0 kB
AnonPages:        946396 kB
Mapped:           463644 kB
Shmem:            216508 kB
Slab:              94332 kB
SReclaimable:      55132 kB
SUnreclaim:        39200 kB
KernelStack:        4280 kB
PageTables:        35760 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    55614408 kB
Committed_AS:    4743784 kB
VmallocTotal:   34359738367 kB
VmallocUsed:      349752 kB
VmallocChunk:   34359373820 kB
HardwareCorrupted:     0 kB
AnonHugePages:    163840 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:      203972 kB
DirectMap2M:     4958208 kB
DirectMap1G:    11534336 kB

GPU


간단한 정보
ubuntu/zsh
$ nvidia-smi
출력:
Mon Nov  7 22:02:53 2016       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 367.57                 Driver Version: 367.57                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 1080    Off  | 0000:01:00.0      On |                  N/A |
| 28%   38C    P8    12W / 180W |    545MiB /  8110MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID  Type  Process name                               Usage      |
|=============================================================================|
|    0      1214    G   /usr/bin/X                                     332MiB |
|    0      1929    G   compiz                                          94MiB |
|    0      2306    G   ...s-passed-by-fd --v8-snapshot-passed-by-fd   117MiB |
+-----------------------------------------------------------------------------+

추가 정보
ubuntu/zsh
$ deviceQuery
출력:
deviceQuery Starting...

 CUDA Device Query (Runtime API) version (CUDART static linking)

Detected 1 CUDA Capable device(s)

Device 0: "GeForce GTX 1080"
  CUDA Driver Version / Runtime Version          8.0 / 8.0
  CUDA Capability Major/Minor version number:    6.1
  Total amount of global memory:                 8110 MBytes (8504279040 bytes)
  (20) Multiprocessors, (128) CUDA Cores/MP:     2560 CUDA Cores
  GPU Max Clock rate:                            1734 MHz (1.73 GHz)
  Memory Clock rate:                             5005 Mhz
  Memory Bus Width:                              256-bit
  L2 Cache Size:                                 2097152 bytes
  Maximum Texture Dimension Size (x,y,z)         1D=(131072), 2D=(131072, 65536), 3D=(16384, 16384, 16384)
  Maximum Layered 1D Texture Size, (num) layers  1D=(32768), 2048 layers
  Maximum Layered 2D Texture Size, (num) layers  2D=(32768, 32768), 2048 layers
  Total amount of constant memory:               65536 bytes
  Total amount of shared memory per block:       49152 bytes
  Total number of registers available per block: 65536
  Warp size:                                     32
  Maximum number of threads per multiprocessor:  2048
  Maximum number of threads per block:           1024
  Max dimension size of a thread block (x,y,z): (1024, 1024, 64)
  Max dimension size of a grid size    (x,y,z): (2147483647, 65535, 65535)
  Maximum memory pitch:                          2147483647 bytes
  Texture alignment:                             512 bytes
  Concurrent copy and kernel execution:          Yes with 2 copy engine(s)
  Run time limit on kernels:                     Yes
  Integrated GPU sharing Host Memory:            No
  Support host page-locked memory mapping:       Yes
  Alignment requirement for Surfaces:            Yes
  Device has ECC support:                        Disabled
  Device supports Unified Addressing (UVA):      Yes
  Device PCI Domain ID / Bus ID / location ID:   0 / 1 / 0
  Compute Mode:
     < Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) >

deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 8.0, CUDA Runtime Version = 8.0, NumDevs = 1, Device0 = GeForce GTX 1080
Result = PASS

*deviceQuery를 사용하려면 다음 단계를 수행해야 합니다.
1. /usr/local/cuda/bin의 cuda-install-samples.실행sh
2. /usr/local/cuda/bin/NVIDIA_CUDA-xx_Samples/1_Utilities/deviceQuery로 이동하여 생성
3./usr/local/cuda/bin/NVIDIA_CUDA-xx_Samples/1_Utilities/deviceQuery PATH를 통해
또 다른 명령이 있으면 알려주세요

좋은 웹페이지 즐겨찾기