'Linux/Ubuntu'에 해당되는 글 297건

  1. 2023.02.10 python3를 python으로 실행하기
  2. 2023.02.07 block caribou ?
  3. 2023.02.03 maas
  4. 2023.01.31 gTile
  5. 2022.12.22 ubuntu coredump 생성하기
  6. 2022.11.07 리눅스 블루투스 유틸리티 bluez-tools
  7. 2022.10.17 cpuid
  8. 2022.04.27 ubuntu 22.04 LTS
  9. 2022.04.25 minicom stty
  10. 2022.04.25 sudo -k -K
Linux/Ubuntu2023. 2. 10. 15:13

먼가 패키지 명이 웃긴데

alias나 심볼릭 링크 걸지 말고 아래 패키지를 설치하면 된다.

 

$ sudo apt install python-is-python3

[링크 : https://askubuntu.com/questions/320996/how-to-make-python-program-command-execute-python-3]

'Linux > Ubuntu' 카테고리의 다른 글

ubuntu 22.04 GUI/CLI 부팅  (0) 2023.06.18
ubuntu dmesg 막혔네?  (0) 2023.06.01
block caribou ?  (0) 2023.02.07
maas  (0) 2023.02.03
gTile  (0) 2023.01.31
Posted by 구차니
Linux/Ubuntu2023. 2. 7. 10:46

우분투 18.04 사용중인데 쉘 버전이 3.28.4

$ gnome-shell --version
GNOME Shell 3.28.4

[링크 : https://askubuntu.com/questions/13348/how-do-i-check-my-version-of-gnome-shell]

 

해당 확장이 지원하는 버전은 3.36~43 이라는데 우분투 20.04 에서만 되는걸려나?

[링크 : https://extensions.gnome.org/extension/3222/block-caribou-36/]

 

+

귀찮아서 USB 허브에 USB 키보드 하나 연결해놓는걸로 그냥 해결 -_-

'Linux > Ubuntu' 카테고리의 다른 글

ubuntu dmesg 막혔네?  (0) 2023.06.01
python3를 python으로 실행하기  (0) 2023.02.10
maas  (0) 2023.02.03
gTile  (0) 2023.01.31
ubuntu coredump 생성하기  (0) 2022.12.22
Posted by 구차니
Linux/Ubuntu2023. 2. 3. 18:54

mobility as a service - 차량

metal as a service - 클라우드

 

[링크 : https://maas.io/]

'Linux > Ubuntu' 카테고리의 다른 글

python3를 python으로 실행하기  (0) 2023.02.10
block caribou ?  (0) 2023.02.07
gTile  (0) 2023.01.31
ubuntu coredump 생성하기  (0) 2022.12.22
리눅스 블루투스 유틸리티 bluez-tools  (0) 2022.11.07
Posted by 구차니
Linux/Ubuntu2023. 1. 31. 14:46

'Linux > Ubuntu' 카테고리의 다른 글

block caribou ?  (0) 2023.02.07
maas  (0) 2023.02.03
ubuntu coredump 생성하기  (0) 2022.12.22
리눅스 블루투스 유틸리티 bluez-tools  (0) 2022.11.07
cpuid  (0) 2022.10.17
Posted by 구차니
Linux/Ubuntu2022. 12. 22. 16:20

$ ulimit -c 100

이런식으로 설정을 해주면 덤프가 되는데

문제는 접속 세션별로 적용이 된다는 것.

 

그리고 우분투의 경우 등록된 서비스가 아니면 apport 라는 녀석이 덤프를 뜨지 않도록 막아버린다고 하니

아래와 같이 강제로 덤프파일을 apport로 넘기지 않도록 core_pattern을 바꾸거나

$ cat /proc/sys/kernel/core_pattern
|/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E

$ sudo su -
# echo core > /proc/sys/kernel/core_pattern
# exit
로그아웃
$ cat /proc/sys/kernel/core_pattern
core

 

apport 서비스를 끄면 된다고 한다.(테스트 안해봄)

[링크 : https://askubuntu.com/questions/966407/where-do-i-find-the-core-dump-in-ubuntu-16-04lts]

 

apport 로그를 보니 먼가 실행은 했는데 패키지에 속한 프로그램이 아니니 자기네 소관이 아니라고

덤프도 못뜨게 하는 드러운(?) 우분투

$ cat /var/log/apport.log
ERROR: apport (pid 25878) Thu Dec 22 16:12:07 2022: called for pid 25877, signal 11, core limit 102400, dump mode 1
ERROR: apport (pid 25878) Thu Dec 22 16:12:07 2022: executable: /home/minimonk/src/dump/a.out (command line "./a.out")
ERROR: apport (pid 25878) Thu Dec 22 16:12:07 2022: executable does not belong to a package, ignoring
ERROR: apport (pid 25878) Thu Dec 22 16:12:07 2022: writing core dump to core._home_minimonk_src_dump_a_out.1000.572f9f01-fb74-45ef-b171-284046cf3a46.25877.7296976 (limit: 102400)
ERROR: apport (pid 25878) Thu Dec 22 16:12:07 2022: aborting core dump writing, size exceeds current limit 102400

 

'Linux > Ubuntu' 카테고리의 다른 글

maas  (0) 2023.02.03
gTile  (0) 2023.01.31
리눅스 블루투스 유틸리티 bluez-tools  (0) 2022.11.07
cpuid  (0) 2022.10.17
ubuntu 22.04 LTS  (0) 2022.04.27
Posted by 구차니
Linux/Ubuntu2022. 11. 7. 10:24

bt 로 시작하는 프로그램이 몇 개 있긴한데 이녀석들은 정체를 모르겠고

btattach    btmgmt      btmon

 

아래의 패키지를 설치해야 한다고 한다.

$  sudo apt install bluez-tools
$  sudo bt-device -l

[링크 : https://br-brg.tistory.com/86]

 

tcpdump 를 이용하면 블루투스 데이터를 pcap 포맷으로 저장해서 wireshark에서 볼 수 있을 듯?

음.. gear vr은 HID가 아니라 안걸려지는건가..

tcpdump -D
1.enx00e04c680108 [Up, Running]
2.any (Pseudo-device that captures on all interfaces) [Up, Running]
3.lo [Up, Running, Loopback]
4.docker0 [Up]
5.bluetooth0 (Bluetooth adapter number 0)
6.nflog (Linux netfilter log (NFLOG) interface)
7.nfqueue (Linux netfilter queue (NFQUEUE) interface)
8.wlo1
9.usbmon1 (USB bus number 1)
10.usbmon2 (USB bus number 2)
$ tcpdump -i bluetooth0 -w bluetooth0_capture_12_12.pcap
tcpdump: listening on bluetooth0, link-type BLUETOOTH_HCI_H4_WITH_PHDR (Bluetooth HCI UART transport layer plus pseudo-header), capture size 262144 bytes
^C0 packets captured
6420 packets received by filter
0 packets dropped by kernel

[링크 : https://www.agnosticdev.com/content/how-capture-bluetooth-traffic-tcpdump-linux]

'Linux > Ubuntu' 카테고리의 다른 글

gTile  (0) 2023.01.31
ubuntu coredump 생성하기  (0) 2022.12.22
cpuid  (0) 2022.10.17
ubuntu 22.04 LTS  (0) 2022.04.27
minicom stty  (0) 2022.04.25
Posted by 구차니
Linux/Ubuntu2022. 10. 17. 17:49

맨날

$ cat /proc/cpuinfo

로 확인했는데 편하게 보는 유틸리티가 있었다니..

 

$ cpuid
CPU 0:
   vendor_id = "GenuineIntel"
   version information (1/eax):
      processor type  = primary processor (0)
      family          = Intel Pentium Pro/II/III/Celeron/Core/Core 2/Atom, AMD Athlon/Duron, Cyrix M2, VIA C3 (6)
      model           = 0xe (14)
      stepping id     = 0xc (12)
      extended family = 0x0 (0)
      extended model  = 0x8 (8)
      (simple synth)  = Intel m3-7Y00 / i5-7Y00 / i7-7Y00 / i3-7000U / i5-7000U / i7-7000U / Pentium 4410Y / 4415U / Celeron 3965Y / 3865U / 3965U (Kaby Lake), 14nm
   miscellaneous (1/ebx):
      process local APIC physical ID = 0x0 (0)
      cpu count                      = 0x10 (16)
      CLFLUSH line size              = 0x8 (8)
      brand index                    = 0x0 (0)
   brand id = 0x00 (0): unknown
   feature information (1/edx):
      x87 FPU on chip                        = true
      virtual-8086 mode enhancement          = true
      debugging extensions                   = true
      page size extensions                   = true
      time stamp counter                     = true
      RDMSR and WRMSR support                = true
      physical address extensions            = true
      machine check exception                = true
      CMPXCHG8B inst.                        = true
      APIC on chip                           = true
      SYSENTER and SYSEXIT                   = true
      memory type range registers            = true
      PTE global bit                         = true
      machine check architecture             = true
      conditional move/compare instruction   = true
      page attribute table                   = true
      page size extension                    = true
      processor serial number                = false
      CLFLUSH instruction                    = true
      debug store                            = true
      thermal monitor and clock ctrl         = true
      MMX Technology                         = true
      FXSAVE/FXRSTOR                         = true
      SSE extensions                         = true
      SSE2 extensions                        = true
      self snoop                             = true
      hyper-threading / multi-core supported = true
      therm. monitor                         = true
      IA64                                   = false
      pending break event                    = true
   feature information (1/ecx):
      PNI/SSE3: Prescott New Instructions     = true
      PCLMULDQ instruction                    = true
      64-bit debug store                      = true
      MONITOR/MWAIT                           = true
      CPL-qualified debug store               = true
      VMX: virtual machine extensions         = true
      SMX: safer mode extensions              = false
      Enhanced Intel SpeedStep Technology     = true
      thermal monitor 2                       = true
      SSSE3 extensions                        = true
      context ID: adaptive or shared L1 data  = false
      FMA instruction                         = true
      CMPXCHG16B instruction                  = true
      xTPR disable                            = true
      perfmon and debug                       = true
      process context identifiers             = true
      direct cache access                     = false
      SSE4.1 extensions                       = true
      SSE4.2 extensions                       = true
      extended xAPIC support                  = true
      MOVBE instruction                       = true
      POPCNT instruction                      = true
      time stamp counter deadline             = true
      AES instruction                         = true
      XSAVE/XSTOR states                      = true
      OS-enabled XSAVE/XSTOR                  = true
      AVX: advanced vector extensions         = true
      F16C half-precision convert instruction = true
      RDRAND instruction                      = true
      hypervisor guest status                 = false
   cache and TLB information (2):
      0x63: data TLB: 1G pages, 4-way, 4 entries
      0x03: data TLB: 4K pages, 4-way, 64 entries
      0x76: instruction TLB: 2M/4M pages, fully, 8 entries
      0xff: cache data is in CPUID 4
      0xb5: instruction TLB: 4K, 8-way, 64 entries
      0xf0: 64 byte prefetching
      0xc3: L2 TLB: 4K/2M pages, 6-way, 1536 entries
   processor serial number: 0008-06EC-0000-0000-0000-0000
   deterministic cache parameters (4):
      --- cache 0 ---
      cache type                           = data cache (1)
      cache level                          = 0x1 (1)
      self-initializing cache level        = true
      fully associative cache              = false
      extra threads sharing this cache     = 0x1 (1)
      extra processor cores on this die    = 0x7 (7)
      system coherency line size           = 0x3f (63)
      physical line partitions             = 0x0 (0)
      ways of associativity                = 0x7 (7)
      ways of associativity                = 0x0 (0)
      WBINVD/INVD behavior on lower caches = false
      inclusive to lower caches            = false
      complex cache indexing               = false
      number of sets - 1 (s)               = 63
      --- cache 1 ---
      cache type                           = instruction cache (2)
      cache level                          = 0x1 (1)
      self-initializing cache level        = true
      fully associative cache              = false
      extra threads sharing this cache     = 0x1 (1)
      extra processor cores on this die    = 0x7 (7)
      system coherency line size           = 0x3f (63)
      physical line partitions             = 0x0 (0)
      ways of associativity                = 0x7 (7)
      ways of associativity                = 0x0 (0)
      WBINVD/INVD behavior on lower caches = false
      inclusive to lower caches            = false
      complex cache indexing               = false
      number of sets - 1 (s)               = 63
      --- cache 2 ---
      cache type                           = unified cache (3)
      cache level                          = 0x2 (2)
      self-initializing cache level        = true
      fully associative cache              = false
      extra threads sharing this cache     = 0x1 (1)
      extra processor cores on this die    = 0x7 (7)
      system coherency line size           = 0x3f (63)
      physical line partitions             = 0x0 (0)
      ways of associativity                = 0x3 (3)
      ways of associativity                = 0x0 (0)
      WBINVD/INVD behavior on lower caches = false
      inclusive to lower caches            = false
      complex cache indexing               = false
      number of sets - 1 (s)               = 1023
      --- cache 3 ---
      cache type                           = unified cache (3)
      cache level                          = 0x3 (3)
      self-initializing cache level        = true
      fully associative cache              = false
      extra threads sharing this cache     = 0xf (15)
      extra processor cores on this die    = 0x7 (7)
      system coherency line size           = 0x3f (63)
      physical line partitions             = 0x0 (0)
      ways of associativity                = 0xf (15)
      ways of associativity                = 0x6 (6)
      WBINVD/INVD behavior on lower caches = false
      inclusive to lower caches            = true
      complex cache indexing               = true
      number of sets - 1 (s)               = 8191
   MONITOR/MWAIT (5):
      smallest monitor-line size (bytes)       = 0x40 (64)
      largest monitor-line size (bytes)        = 0x40 (64)
      enum of Monitor-MWAIT exts supported     = true
      supports intrs as break-event for MWAIT  = true
      number of C0 sub C-states using MWAIT    = 0x0 (0)
      number of C1 sub C-states using MWAIT    = 0x2 (2)
      number of C2 sub C-states using MWAIT    = 0x1 (1)
      number of C3 sub C-states using MWAIT    = 0x2 (2)
      number of C4 sub C-states using MWAIT    = 0x4 (4)
      number of C5 sub C-states using MWAIT    = 0x1 (1)
      number of C6 sub C-states using MWAIT    = 0x1 (1)
      number of C7 sub C-states using MWAIT    = 0x1 (1)
   Thermal and Power Management Features (6):
      digital thermometer                     = true
      Intel Turbo Boost Technology            = true
      ARAT always running APIC timer          = true
      PLN power limit notification            = true
      ECMD extended clock modulation duty     = true
      PTM package thermal management          = true
      HWP base registers                      = true
      HWP notification                        = true
      HWP activity window                     = true
      HWP energy performance preference       = true
      HWP package level request               = false
      HDC base registers                      = true
      digital thermometer thresholds          = 0x2 (2)
      ACNT/MCNT supported performance measure = true
      ACNT2 available                         = false
      performance-energy bias capability      = true
   extended feature flags (7):
      FSGSBASE instructions                    = true
      IA32_TSC_ADJUST MSR supported            = true
      SGX: Software Guard Extensions supported = true
      BMI instruction                          = true
      HLE hardware lock elision                = false
      AVX2: advanced vector extensions 2       = true
      FDP_EXCPTN_ONLY                          = false
      SMEP supervisor mode exec protection     = true
      BMI2 instructions                        = true
      enhanced REP MOVSB/STOSB                 = true
      INVPCID instruction                      = true
      RTM: restricted transactional memory     = false
      QM: quality of service monitoring        = false
      deprecated FPU CS/DS                     = true
      intel memory protection extensions       = true
      PQE: platform quality of service enforce = false
      AVX512F: AVX-512 foundation instructions = false
      AVX512DQ: double & quadword instructions = false
      RDSEED instruction                       = true
      ADX instructions                         = true
      SMAP: supervisor mode access prevention  = true
      AVX512IFMA: fused multiply add           = false
      CLFLUSHOPT instruction                   = true
      CLWB instruction                         = false
      Intel processor trace                    = true
      AVX512PF: prefetch instructions          = false
      AVX512ER: exponent & reciprocal instrs   = false
      AVX512CD: conflict detection instrs      = false
      SHA instructions                         = false
      AVX512BW: byte & word instructions       = false
      AVX512VL: vector length                  = false
      PREFETCHWT1                              = false
      AVX512VBMI: vector byte manipulation     = false
      UMIP: user-mode instruction prevention   = false
      PKU protection keys for user-mode        = false
      OSPKE CR4.PKE and RDPKRU/WRPKRU          = false
      BNDLDX/BNDSTX MAWAU value in 64-bit mode = 0x0 (0)
      RDPID: read processor D supported        = false
      SGX_LC: SGX launch config supported      = false
      AVX512_4VNNIW: neural network instrs     = false
      AVX512_4FMAPS: multiply acc single prec  = false
   Direct Cache Access Parameters (9):
      PLATFORM_DCA_CAP MSR bits = 0
   Architecture Performance Monitoring Features (0xa/eax):
      version ID                               = 0x4 (4)
      number of counters per logical processor = 0x4 (4)
      bit width of counter                     = 0x30 (48)
      length of EBX bit vector                 = 0x7 (7)
   Architecture Performance Monitoring Features (0xa/ebx):
      core cycle event not available           = false
      instruction retired event not available  = false
      reference cycles event not available     = false
      last-level cache ref event not available = false
      last-level cache miss event not avail    = false
      branch inst retired event not available  = false
      branch mispred retired event not avail   = false
   Architecture Performance Monitoring Features (0xa/edx):
      number of fixed counters    = 0x3 (3)
      bit width of fixed counters = 0x30 (48)
   x2APIC features / processor topology (0xb):
      --- level 0 (thread) ---
      bits to shift APIC ID to get next = 0x1 (1)
      logical processors at this level  = 0x2 (2)
      level number                      = 0x0 (0)
      level type                        = thread (1)
      extended APIC ID                  = 0
      --- level 1 (core) ---
      bits to shift APIC ID to get next = 0x4 (4)
      logical processors at this level  = 0x8 (8)
      level number                      = 0x1 (1)
      level type                        = core (2)
      extended APIC ID                  = 0
   XSAVE features (0xd/0):
      XCR0 lower 32 bits valid bit field mask = 0x0000001f
      XCR0 upper 32 bits valid bit field mask = 0x00000000
         XCR0 supported: x87 state            = true
         XCR0 supported: SSE state            = true
         XCR0 supported: AVX state            = true
         XCR0 supported: MPX BNDREGS          = true
         XCR0 supported: MPX BNDCSR           = true
         XCR0 supported: AVX-512 opmask       = false
         XCR0 supported: AVX-512 ZMM_Hi256    = false
         XCR0 supported: AVX-512 Hi16_ZMM     = false
         IA32_XSS supported: PT state         = false
         XCR0 supported: PKRU state           = false
      bytes required by fields in XCR0        = 0x00000440 (1088)
      bytes required by XSAVE/XRSTOR area     = 0x00000440 (1088)
   XSAVE features (0xd/1):
      XSAVEOPT instruction                        = true
      XSAVEC instruction                          = true
      XGETBV instruction                          = true
      XSAVES/XRSTORS instructions                 = true
      SAVE area size in bytes                     = 0x000003c0 (960)
      IA32_XSS lower 32 bits valid bit field mask = 0x00000100
      IA32_XSS upper 32 bits valid bit field mask = 0x00000000
   AVX/YMM features (0xd/2):
      AVX/YMM save state byte size             = 0x00000100 (256)
      AVX/YMM save state byte offset           = 0x00000240 (576)
      supported in IA32_XSS or XCR0            = XCR0 (user state)
      64-byte alignment in compacted XSAVE     = false
   MPX BNDREGS features (0xd/3):
      MPX BNDREGS save state byte size         = 0x00000040 (64)
      MPX BNDREGS save state byte offset       = 0x000003c0 (960)
      supported in IA32_XSS or XCR0            = XCR0 (user state)
      64-byte alignment in compacted XSAVE     = false
   MPX BNDCSR features (0xd/4):
      MPX BNDCSR save state byte size          = 0x00000040 (64)
      MPX BNDCSR save state byte offset        = 0x00000400 (1024)
      supported in IA32_XSS or XCR0            = XCR0 (user state)
      64-byte alignment in compacted XSAVE     = false
   PT features (0xd/8):
      PT save state byte size                  = 0x00000080 (128)
      PT save state byte offset                = 0x00000000 (0)
      supported in IA32_XSS or XCR0            = IA32_XSS (supervisor state)
      64-byte alignment in compacted XSAVE     = false
   Quality of Service Monitoring Resource Type (0xf/0):
      Maximum range of RMID = 0
      supports L3 cache QoS monitoring = false
   Resource Director Technology allocation (0x10/0):
      L3 cache allocation technology supported = false
      L2 cache allocation technology supported = false
   0x00000011 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
   SGX capability (0x12/0):
      SGX1 supported                         = false
      SGX2 supported                         = false
      MISCSELECT.EXINFO supported: #PF & #GP = false
      MaxEnclaveSize_Not64 (log2)            = 0x0 (0)
      MaxEnclaveSize_64 (log2)               = 0x0 (0)
   0x00000013 0x00: eax=0x00000000 ebx=0x00000000 ecx=0x00000000 edx=0x00000000
   Intel Processor Trace (0x14):
      IA32_RTIT_CR3_MATCH is accessible      = true
      configurable PSB & cycle-accurate      = true
      IP & TraceStop filtering; PT preserve  = true
      MTC timing packet; suppress COFI-based = true
      PTWRITE support                        = false
      power event trace support              = false
      IA32_RTIT_CTL can enable tracing  = true
      ToPA can hold many output entries = true
      single-range output scheme        = true
      output to trace transport         = false
      IP payloads have LIP values & CS  = false
      configurable address ranges   = 0x2 (2)
      supported MTC periods bitmask = 0x249 (585)
      supported cycle threshold bitmask = 0x3fff (16383)
      supported config PSB freq bitmask = 0x3f (63)
   Time Stamp Counter/Core Crystal Clock Information (0x15):
      TSC/clock ratio = 192/2
      nominal core crystal clock = 0 Hz
   Processor Frequency Information (0x16):
      Core Base Frequency (MHz) = 0x8fc (2300)
      Core Maximum Frequency (MHz) = 0x1324 (4900)
      Bus (Reference) Frequency (MHz) = 0x64 (100)
   extended feature flags (0x80000001/edx):
      SYSCALL and SYSRET instructions        = true
      execution disable                      = true
      1-GB large page support                = true
      RDTSCP                                 = true
      64-bit extensions technology available = true
   Intel feature flags (0x80000001/ecx):
      LAHF/SAHF supported in 64-bit mode     = true
      LZCNT advanced bit manipulation        = true
      3DNow! PREFETCH/PREFETCHW instructions = true
   brand = "Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz"
   L1 TLB/cache information: 2M/4M pages & L1 TLB (0x80000005/eax):
      instruction # entries     = 0x0 (0)
      instruction associativity = 0x0 (0)
      data # entries            = 0x0 (0)
      data associativity        = 0x0 (0)
   L1 TLB/cache information: 4K pages & L1 TLB (0x80000005/ebx):
      instruction # entries     = 0x0 (0)
      instruction associativity = 0x0 (0)
      data # entries            = 0x0 (0)
      data associativity        = 0x0 (0)
   L1 data cache information (0x80000005/ecx):
      line size (bytes) = 0x0 (0)
      lines per tag     = 0x0 (0)
      associativity     = 0x0 (0)
      size (KB)         = 0x0 (0)
   L1 instruction cache information (0x80000005/edx):
      line size (bytes) = 0x0 (0)
      lines per tag     = 0x0 (0)
      associativity     = 0x0 (0)
      size (KB)         = 0x0 (0)
   L2 TLB/cache information: 2M/4M pages & L2 TLB (0x80000006/eax):
      instruction # entries     = 0x0 (0)
      instruction associativity = L2 off (0)
      data # entries            = 0x0 (0)
      data associativity        = L2 off (0)
   L2 TLB/cache information: 4K pages & L2 TLB (0x80000006/ebx):
      instruction # entries     = 0x0 (0)
      instruction associativity = L2 off (0)
      data # entries            = 0x0 (0)
      data associativity        = L2 off (0)
   L2 unified cache information (0x80000006/ecx):
      line size (bytes) = 0x40 (64)
      lines per tag     = 0x0 (0)
      associativity     = 8-way (6)
      size (KB)         = 0x100 (256)
   L3 cache information (0x80000006/edx):
      line size (bytes)     = 0x0 (0)
      lines per tag         = 0x0 (0)
      associativity         = L2 off (0)
      size (in 512KB units) = 0x0 (0)
   Advanced Power Management Features (0x80000007/edx):
      temperature sensing diode      = false
      frequency ID (FID) control     = false
      voltage ID (VID) control       = false
      thermal trip (TTP)             = false
      thermal monitor (TM)           = false
      software thermal control (STC) = false
      100 MHz multiplier control     = false
      hardware P-State control       = false
      TscInvariant                   = true
   Physical Address and Linear Address Size (0x80000008/eax):
      maximum physical address bits         = 0x27 (39)
      maximum linear (virtual) address bits = 0x30 (48)
      maximum guest physical address bits   = 0x0 (0)
   Logical CPU cores (0x80000008/ecx):
      number of CPU cores - 1 = 0x0 (0)
      ApicIdCoreIdSize        = 0x0 (0)
   (multi-processing synth): multi-core (c=4), hyper-threaded (t=2)
   (multi-processing method): Intel leaf 0xb
   (APIC widths synth): CORE_width=4 SMT_width=1
   (APIC synth): PKG_ID=0 CORE_ID=0 SMT_ID=0
   (synth) = Intel m3-7Y00 / i5-7Y00 / i7-7Y00 / i3-7000U / i5-7000U / i7-7000U (Kaby Lake), 14nm

 

[링크 : https://linux.die.net/man/1/cpuid]

'Linux > Ubuntu' 카테고리의 다른 글

ubuntu coredump 생성하기  (0) 2022.12.22
리눅스 블루투스 유틸리티 bluez-tools  (0) 2022.11.07
ubuntu 22.04 LTS  (0) 2022.04.27
minicom stty  (0) 2022.04.25
sudo -k -K  (0) 2022.04.25
Posted by 구차니
Linux/Ubuntu2022. 4. 27. 14:08

오늘 생각난김에 USB에 부팅해보는데 나쁘진 않은 느낌.

/dev/fb0 로는 캡쳐가 안되네 -_ㅠ

 

일단 윈도우(super) 누르면 데스크탑이 나오는데 상하에서 좌우로 바뀌었고

alt-tab 기본 값도 앱전환에서 프로그램 전환으로 그룹으로 묶이지 않게 변경! super-tab이 앱전환으로 지정!

gnome3로 바뀌면서(맞나?) 메뉴가 떠도 캡쳐가 가능해졌다.

 

동영상 촬영에 영역 캡쳐까지!

 

그리고 메뉴는 전반적으로 좀 더 동글동글 해진 느낌?

 

22.04의 모서리 둥글기

 

18.04의 모서리 둥글기

'Linux > Ubuntu' 카테고리의 다른 글

리눅스 블루투스 유틸리티 bluez-tools  (0) 2022.11.07
cpuid  (0) 2022.10.17
minicom stty  (0) 2022.04.25
sudo -k -K  (0) 2022.04.25
ubuntu unity tweak  (0) 2022.04.04
Posted by 구차니
Linux/Ubuntu2022. 4. 25. 19:13

minicom 으로 포트를 열고 stty로 확인하니 아래의 플래그들이 설정된다.

근데 포트를 잘 못열었나.. xon/xoff에 대한건 안보이네..


ignbrk ignore break characters
-brkint breaks cause an interrupt signal
-icrnl translate carriage return to newline
-imaxbel beep and do not flush a full input buffer on a character
-opost postprocess output
-onlcr translate newline to carriage return-newline
-isig enable interrupt, quit, and suspend special characters
-icanon enable erase, kill, werase, and rprnt special characters
-iexten enable non-POSIX special characters
-echo echo input characters
-echoe same as [-]crterase // echo erase characters as backspace-space-backspace
-echok echo a newline after a kill character
-echoctl same as [-]ctlecho // echo control characters in hat notation ('^c')
-echoke same as [-]crtkill // kill all line by obeying the echoctl and echok settings



[링크 : https://linux.die.net/man/1/stty]

'Linux > Ubuntu' 카테고리의 다른 글

cpuid  (0) 2022.10.17
ubuntu 22.04 LTS  (0) 2022.04.27
sudo -k -K  (0) 2022.04.25
ubuntu unity tweak  (0) 2022.04.04
This kernel does not support RARP.  (0) 2022.03.08
Posted by 구차니
Linux/Ubuntu2022. 4. 25. 18:55

sudo의 사용가능 시간을 리셋하는 옵션

-K' The -K (sure kill) option is like -k except that it removes the user's cached credentials entirely and may not be used in conjunction with a command or other option. This option does not require a password. Not all security policies support credential caching.

-k [command]
When used alone, the -k (kill) option to sudo invalidates the user's cached credentialsThe next time sudo is run a password will be required. This option does not require a password and was added to allow a user to revoke sudo permissions from a .logout file. Not all security policies support credential caching.

When used in conjunction with a command or an option that may require a password, the -k option will cause sudo to ignore the user's cached credentials. As a result, sudo will prompt for a password (if one is required by the security policy) and will not update the user's cached credentials.

[링크 : https://linux.die.net/man/8/sudo]

[링크 : https://askubuntu.com/questions/14948/how-to-cancel-the-currently-applied-remaining-sudo-time-out]

 

+ 22.05.03

아래 경로 가니 파일이 존재하는데 -k 로는 파일이 사라지지 않고 -K로는 파일이 사라진다.

/run/sudo/ts/<username>

[링크 : https://www.linux.org/threads/cache-timestamp-file.25274/]

 

sudo 도움말을 보면 -K는 파일을 삭제하고, -k는 타임스탬프 파일을 무효화 한다는데 내용이 변화되는것 같진 않고..

  -K, --remove-timestamp        remove timestamp file completely
  -k, --reset-timestamp         invalidate timestamp file

 

struct timestamp_entry {
unsigned short version;     /* version number /
unsigned short size;        / entry size /
unsigned short type;        / TS_GLOBAL, TS_TTY, TS_PPID /
unsigned short flags;       / TS_DISABLED, TS_ANYUID /
uid_t auth_uid;             / uid to authenticate as /
pid_t sid;                  / session ID associated with tty/ppid /
struct timespec start_time; / session/ppid start time /
struct timespec ts;         / time stamp (CLOCK_MONOTONIC) /
union {
dev_t ttydev;           / tty device number /
pid_t ppid;             / parent pid */
} u;
};

[링크 : https://www.sudo.ws/docs/man/1.8.25/sudoers_timestamp.man/]

 

먼가 딱 하나.. 0에서 1로 바뀌었네

'Linux > Ubuntu' 카테고리의 다른 글

ubuntu 22.04 LTS  (0) 2022.04.27
minicom stty  (0) 2022.04.25
ubuntu unity tweak  (0) 2022.04.04
This kernel does not support RARP.  (0) 2022.03.08
우분투 크롬, 구글 로그인이 안됨  (0) 2022.02.14
Posted by 구차니