linux:strace

no way to compare when less than two revisions

差分

このページの2つのバージョン間の差分を表示します。


次のリビジョン
linux:strace [2019/09/10 14:35] – 作成 ともやん
行 1: 行 1:
 +====== strace コマンド ======
 +strace コマンドはプロセスのシステムコールをトレースすることが出来る。\\
 +
 +===== インストール =====
 +<code>
 +$ sudo dnf install strace
 +</code>
 +
 +===== 実行 =====
 +strace [プロセス(コマンド等)]\\
 +\\
 +実行例:\\
 +<WRAP prewrap 100%>
 +<code>
 +$ strace sensors
 +execve("/usr/bin/sensors", ["sensors"], 0x7ffdde1aeea0 /* 76 vars */) = 0
 +brk(NULL)                               = 0x564bd7254000
 +arch_prctl(0x3001 /* ARCH_??? */, 0x7ffc722d7630) = -1 EINVAL (無効な引数です)
 +access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (そのようなファイルやディレクトリはありません)
 +openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
 +fstat(3, {st_mode=S_IFREG|0644, st_size=268505, ...}) = 0
 +mmap(NULL, 268505, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f1a3f93f000
 +close(3)                                = 0
 +openat(AT_FDCWD, "/lib64/libsensors.so.4", O_RDONLY|O_CLOEXEC) = 3
 +read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0206\0\0\0\0\0\0"..., 832) = 832
 +lseek(3, 62648, SEEK_SET)               = 62648
 +read(3, "\4\0\0\0\20\0\0\0\5\0\0\0GNU\0\2\0\0\300\4\0\0\0\3\0\0\0\0\0\0\0", 32) = 32
 +fstat(3, {st_mode=S_IFREG|0755, st_size=87128, ...}) = 0
 +mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1a3f93d000
 +lseek(3, 62648, SEEK_SET)               = 62648
 +read(3, "\4\0\0\0\20\0\0\0\5\0\0\0GNU\0\2\0\0\300\4\0\0\0\3\0\0\0\0\0\0\0", 32) = 32
 +mmap(NULL, 74440, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f1a3f92a000
 +mprotect(0x7f1a3f92d000, 57344, PROT_NONE) = 0
 +mmap(0x7f1a3f92d000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f1a3f92d000
 +mmap(0x7f1a3f935000, 20480, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb000) = 0x7f1a3f935000
 +mmap(0x7f1a3f93b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10000) = 0x7f1a3f93b000
 +close(3)                                = 0
 +openat(AT_FDCWD, "/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
 +read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P@\2\0\0\0\0\0"..., 832) = 832
 +lseek(3, 792, SEEK_SET)                 = 792
 +read(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0\346\4=\16,\314\275\4\36$\325#\200%i\326"..., 68) = 68
 +fstat(3, {st_mode=S_IFREG|0755, st_size=6697832, ...}) = 0
 +lseek(3, 792, SEEK_SET)                 = 792
 +read(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0\346\4=\16,\314\275\4\36$\325#\200%i\326"..., 68) = 68
 +lseek(3, 864, SEEK_SET)                 = 864
 +read(3, "\4\0\0\0\20\0\0\0\5\0\0\0GNU\0\2\0\0\300\4\0\0\0\3\0\0\0\0\0\0\0", 32) = 32
 +mmap(NULL, 1857472, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f1a3f764000
 +mprotect(0x7f1a3f786000, 1679360, PROT_NONE) = 0
 +mmap(0x7f1a3f786000, 1363968, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7f1a3f786000
 +mmap(0x7f1a3f8d3000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16f000) = 0x7f1a3f8d3000
 +mmap(0x7f1a3f920000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1bb000) = 0x7f1a3f920000
 +mmap(0x7f1a3f926000, 14272, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f1a3f926000
 +close(3)                                = 0
 +openat(AT_FDCWD, "/lib64/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
 +read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\323\0\0\0\0\0\0"..., 832) = 832
 +fstat(3, {st_mode=S_IFREG|0755, st_size=3621096, ...}) = 0
 +mmap(NULL, 1331456, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f1a3f61e000
 +mmap(0x7f1a3f62b000, 638976, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd000) = 0x7f1a3f62b000
 +mmap(0x7f1a3f6c7000, 634880, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa9000) = 0x7f1a3f6c7000
 +mmap(0x7f1a3f762000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x143000) = 0x7f1a3f762000
 +close(3)                                = 0
 +mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1a3f61b000
 +arch_prctl(ARCH_SET_FS, 0x7f1a3f61b740) = 0
 +mprotect(0x7f1a3f920000, 16384, PROT_READ) = 0
 +mprotect(0x7f1a3f762000, 4096, PROT_READ) = 0
 +mprotect(0x7f1a3f93b000, 4096, PROT_READ) = 0
 +mprotect(0x564bd6328000, 4096, PROT_READ) = 0
 +mprotect(0x7f1a3f9ab000, 4096, PROT_READ) = 0
 +munmap(0x7f1a3f93f000, 268505)          = 0
 +brk(NULL)                               = 0x564bd7254000
 +brk(0x564bd7275000)                     = 0x564bd7275000
 +brk(NULL)                               = 0x564bd7275000
 +openat(AT_FDCWD, "/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
 +fstat(3, {st_mode=S_IFREG|0644, st_size=111950656, ...}) = 0
 +mmap(NULL, 111950656, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f1a38b57000
 +close(3)                                = 0
 +statfs("/sys", {f_type=SYSFS_MAGIC, f_bsize=4096, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={val=[0, 0]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_NOSUID|ST_NODEV|ST_NOEXEC|ST_RELATIME}) = 0
 +openat(AT_FDCWD, "/sys/class/i2c-adapter", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
 +fstat(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
 +getdents64(3, /* 10 entries */, 32768)  = 304
 +openat(AT_FDCWD, "/sys/class/i2c-adapter/i2c-3/name", O_RDONLY) = 4
 +fstat(4, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +read(4, "i915 gmbus dpc\n", 4096)       = 15
 +close(4)                                = 0
 +openat(AT_FDCWD, "/sys/class/i2c-adapter/i2c-1/name", O_RDONLY) = 4
 +fstat(4, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +read(4, "i915 gmbus vga\n", 4096)       = 15
 +close(4)                                = 0
 +openat(AT_FDCWD, "/sys/class/i2c-adapter/i2c-6/name", O_RDONLY) = 4
 +fstat(4, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +read(4, "DPDDC-B\n", 4096)              = 8
 +close(4)                                = 0
 +openat(AT_FDCWD, "/sys/class/i2c-adapter/i2c-4/name", O_RDONLY) = 4
 +fstat(4, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +read(4, "i915 gmbus dpb\n", 4096)       = 15
 +close(4)                                = 0
 +openat(AT_FDCWD, "/sys/class/i2c-adapter/i2c-2/name", O_RDONLY) = 4
 +fstat(4, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +read(4, "i915 gmbus panel\n", 4096)     = 17
 +close(4)                                = 0
 +openat(AT_FDCWD, "/sys/class/i2c-adapter/i2c-0/name", O_RDONLY) = 4
 +fstat(4, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +read(4, "i915 gmbus ssc\n", 4096)       = 15
 +close(4)                                = 0
 +openat(AT_FDCWD, "/sys/class/i2c-adapter/i2c-7/name", O_RDONLY) = 4
 +fstat(4, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +read(4, "SMBus I801 adapter at 6040\n", 4096) = 27
 +close(4)                                = 0
 +openat(AT_FDCWD, "/sys/class/i2c-adapter/i2c-5/name", O_RDONLY) = 4
 +fstat(4, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +read(4, "i915 gmbus dpd\n", 4096)       = 15
 +close(4)                                = 0
 +getdents64(3, /* 0 entries */, 32768)   = 0
 +close(3)                                = 0
 +openat(AT_FDCWD, "/sys/class/hwmon", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
 +fstat(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
 +getdents64(3, /* 4 entries */, 32768)   = 112
 +lstat("/sys", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
 +lstat("/sys/class", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
 +lstat("/sys/class/hwmon", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
 +lstat("/sys/class/hwmon/hwmon0", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
 +readlink("/sys/class/hwmon/hwmon0", "../../devices/virtual/thermal/th"..., 4095) = 50
 +lstat("/sys/devices", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
 +lstat("/sys/devices/virtual", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
 +lstat("/sys/devices/virtual/thermal", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
 +lstat("/sys/devices/virtual/thermal/thermal_zone0", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
 +lstat("/sys/devices/virtual/thermal/thermal_zone0/hwmon0", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
 +lstat("/sys/devices/virtual/thermal/thermal_zone0/hwmon0/device", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
 +readlink("/sys/devices/virtual/thermal/thermal_zone0/hwmon0/device", "../../thermal_zone0", 4095) = 19
 +lstat("/sys/devices/virtual/thermal/thermal_zone0", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
 +openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/name", O_RDONLY) = 4
 +fstat(4, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +read(4, "acpitz\n", 4096)               = 7
 +close(4)                                = 0
 +readlink("/sys/devices/virtual/thermal/thermal_zone0/subsystem", "../../../../class/thermal", 254) = 25
 +lstat("/sys", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
 +lstat("/sys/devices", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
 +lstat("/sys/devices/virtual", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
 +lstat("/sys/devices/virtual/thermal", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
 +lstat("/sys/devices/virtual/thermal/thermal_zone0", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
 +lstat("/sys/devices/virtual/thermal/thermal_zone0/device", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
 +readlink("/sys/devices/virtual/thermal/thermal_zone0/device", "../../../LNXSYSTM:00/LNXSYBUS:01"..., 4095) = 44
 +lstat("/sys/devices/LNXSYSTM:00", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
 +lstat("/sys/devices/LNXSYSTM:00/LNXSYBUS:01", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
 +lstat("/sys/devices/LNXSYSTM:00/LNXSYBUS:01/LNXTHERM:00", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
 +readlink("/sys/devices/LNXSYSTM:00/LNXSYBUS:01/LNXTHERM:00/subsystem", "../../../../bus/acpi", 254) = 20
 +openat(AT_FDCWD, "/sys/class/hwmon/hwmon0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
 +fstat(4, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
 +getdents64(4, /* 9 entries */, 32768)   = 264
 +stat("/sys/class/hwmon/hwmon0/temp1_crit", {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +stat("/sys/class/hwmon/hwmon0/temp1_input", {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +getdents64(4, /* 0 entries */, 32768)   = 0
 +close(4)                                = 0
 +lstat("/sys", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
 +lstat("/sys/class", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
 +lstat("/sys/class/hwmon", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
 +lstat("/sys/class/hwmon/hwmon1", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
 +readlink("/sys/class/hwmon/hwmon1", "../../devices/platform/coretemp."..., 4095) = 46
 +lstat("/sys/devices", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
 +lstat("/sys/devices/platform", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
 +lstat("/sys/devices/platform/coretemp.0", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
 +lstat("/sys/devices/platform/coretemp.0/hwmon", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
 +lstat("/sys/devices/platform/coretemp.0/hwmon/hwmon1", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
 +lstat("/sys/devices/platform/coretemp.0/hwmon/hwmon1/device", {st_mode=S_IFLNK|0777, st_size=0, ...}) = 0
 +readlink("/sys/devices/platform/coretemp.0/hwmon/hwmon1/device", "../../../coretemp.0", 4095) = 19
 +lstat("/sys/devices/platform/coretemp.0", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
 +openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/name", O_RDONLY) = 4
 +fstat(4, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +read(4, "coretemp\n", 4096)             = 9
 +close(4)                                = 0
 +readlink("/sys/devices/platform/coretemp.0/subsystem", "../../../bus/platform", 254) = 21
 +openat(AT_FDCWD, "/sys/class/hwmon/hwmon1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
 +fstat(4, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
 +getdents64(4, /* 22 entries */, 32768)  = 704
 +stat("/sys/class/hwmon/hwmon1/temp3_crit", {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +stat("/sys/class/hwmon/hwmon1/temp2_crit_alarm", {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +stat("/sys/class/hwmon/hwmon1/temp2_crit", {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +stat("/sys/class/hwmon/hwmon1/temp2_max", {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +stat("/sys/class/hwmon/hwmon1/temp3_input", {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +stat("/sys/class/hwmon/hwmon1/temp1_crit", {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +stat("/sys/class/hwmon/hwmon1/temp3_max", {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +stat("/sys/class/hwmon/hwmon1/temp3_crit_alarm", {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +stat("/sys/class/hwmon/hwmon1/temp1_input", {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +stat("/sys/class/hwmon/hwmon1/temp1_crit_alarm", {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +stat("/sys/class/hwmon/hwmon1/temp1_max", {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +stat("/sys/class/hwmon/hwmon1/temp2_input", {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +getdents64(4, /* 0 entries */, 32768)   = 0
 +close(4)                                = 0
 +getdents64(3, /* 0 entries */, 32768)   = 0
 +close(3)                                = 0
 +openat(AT_FDCWD, "/etc/sensors3.conf", O_RDONLY) = 3
 +ioctl(3, TCGETS, 0x7ffc722d7320)        = -1 ENOTTY (デバイスに対する不適切なioctlです)
 +fstat(3, {st_mode=S_IFREG|0644, st_size=10593, ...}) = 0
 +read(3, "# libsensors configuration file\n"..., 8192) = 8192
 +read(3, "bel in2 \"+3.3V\"\n    label in3 \"+"..., 8192) = 2401
 +read(3, "", 4096)                       = 0
 +read(3, "", 8192)                       = 0
 +ioctl(3, TCGETS, 0x7ffc722d5cd0)        = -1 ENOTTY (デバイスに対する不適切なioctlです)
 +close(3)                                = 0
 +openat(AT_FDCWD, "/etc/sensors.d", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
 +fstat(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
 +brk(NULL)                               = 0x564bd7275000
 +brk(0x564bd729a000)                     = 0x564bd729a000
 +getdents64(3, /* 2 entries */, 32768)   = 48
 +getdents64(3, /* 0 entries */, 32768)   = 0
 +brk(NULL)                               = 0x564bd729a000
 +brk(NULL)                               = 0x564bd729a000
 +brk(0x564bd7292000)                     = 0x564bd7292000
 +brk(NULL)                               = 0x564bd7292000
 +close(3)                                = 0
 +openat(AT_FDCWD, "/usr/lib64/gconv/gconv-modules.cache", O_RDONLY) = 3
 +fstat(3, {st_mode=S_IFREG|0644, st_size=26398, ...}) = 0
 +mmap(NULL, 26398, PROT_READ, MAP_SHARED, 3, 0) = 0x7f1a3f97a000
 +close(3)                                = 0
 +openat(AT_FDCWD, "/usr/lib64/gconv/ISO8859-1.so", O_RDONLY|O_CLOEXEC) = 3
 +read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\20\0\0\0\0\0\0"..., 832) = 832
 +fstat(3, {st_mode=S_IFREG|0755, st_size=20856, ...}) = 0
 +mmap(NULL, 16456, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f1a3f975000
 +mmap(0x7f1a3f976000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7f1a3f976000
 +mmap(0x7f1a3f977000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f1a3f977000
 +mmap(0x7f1a3f978000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f1a3f978000
 +close(3)                                = 0
 +mprotect(0x7f1a3f978000, 4096, PROT_READ) = 0
 +fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0), ...}) = 0
 +write(1, "acpitz-acpi-0\n", 14acpitz-acpi-0
 +)         = 14
 +write(1, "Adapter: ACPI interface\n", 24Adapter: ACPI interface
 +) = 24
 +openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/temp1_label", O_RDONLY) = -1 ENOENT (そのようなファイルやディレクトリはありません)
 +openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/temp1_label", O_RDONLY) = -1 ENOENT (そのようなファイルやディレクトリはありません)
 +openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/temp1_input", O_RDONLY) = 3
 +fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +read(3, "55000\n", 4096)                = 6
 +close(3)                                = 0
 +openat(AT_FDCWD, "/sys/class/hwmon/hwmon0/temp1_crit", O_RDONLY) = 3
 +fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +read(3, "106000\n", 4096)               = 7
 +close(3)                                = 0
 +write(1, "temp1:        +55.0\302\260C  (crit = "..., 43temp1:        +55.0°C  (crit = +106.0°C)
 +) = 43
 +write(1, "\n", 1
 +)                       = 1
 +write(1, "coretemp-isa-0000\n", 18coretemp-isa-0000
 +)     = 18
 +write(1, "Adapter: ISA adapter\n", 21Adapter: ISA adapter
 +)  = 21
 +openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp1_label", O_RDONLY) = 3
 +fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +read(3, "Package id 0\n", 4096)         = 13
 +read(3, "", 4096)                       = 0
 +close(3)                                = 0
 +openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp2_label", O_RDONLY) = 3
 +fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +read(3, "Core 0\n", 4096)               = 7
 +read(3, "", 4096)                       = 0
 +close(3)                                = 0
 +openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp3_label", O_RDONLY) = 3
 +fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +read(3, "Core 1\n", 4096)               = 7
 +read(3, "", 4096)                       = 0
 +close(3)                                = 0
 +openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp1_label", O_RDONLY) = 3
 +fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +read(3, "Package id 0\n", 4096)         = 13
 +read(3, "", 4096)                       = 0
 +close(3)                                = 0
 +openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp1_input", O_RDONLY) = 3
 +fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +read(3, "58000\n", 4096)                = 6
 +close(3)                                = 0
 +openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp1_crit_alarm", O_RDONLY) = 3
 +fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +read(3, "0\n", 4096)                    = 2
 +close(3)                                = 0
 +openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp1_max", O_RDONLY) = 3
 +fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +read(3, "87000\n", 4096)                = 6
 +close(3)                                = 0
 +openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp1_crit", O_RDONLY) = 3
 +fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +read(3, "105000\n", 4096)               = 7
 +close(3)                                = 0
 +write(1, "Package id 0:  +58.0\302\260C  (high ="..., 61Package id 0:  +58.0°C  (high = +87.0°C, crit = +105.0°C)
 +) = 61
 +openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp2_label", O_RDONLY) = 3
 +fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +read(3, "Core 0\n", 4096)               = 7
 +read(3, "", 4096)                       = 0
 +close(3)                                = 0
 +openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp2_input", O_RDONLY) = 3
 +fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +read(3, "57000\n", 4096)                = 6
 +close(3)                                = 0
 +openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp2_crit_alarm", O_RDONLY) = 3
 +fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +read(3, "0\n", 4096)                    = 2
 +close(3)                                = 0
 +openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp2_max", O_RDONLY) = 3
 +fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +read(3, "87000\n", 4096)                = 6
 +close(3)                                = 0
 +openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp2_crit", O_RDONLY) = 3
 +fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +read(3, "105000\n", 4096)               = 7
 +close(3)                                = 0
 +write(1, "Core 0:        +57.0\302\260C  (high ="..., 61Core 0:        +57.0°C  (high = +87.0°C, crit = +105.0°C)
 +) = 61
 +openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp3_label", O_RDONLY) = 3
 +fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +read(3, "Core 1\n", 4096)               = 7
 +read(3, "", 4096)                       = 0
 +close(3)                                = 0
 +openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp3_input", O_RDONLY) = 3
 +fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +read(3, "54000\n", 4096)                = 6
 +close(3)                                = 0
 +openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp3_crit_alarm", O_RDONLY) = 3
 +fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +read(3, "0\n", 4096)                    = 2
 +close(3)                                = 0
 +openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp3_max", O_RDONLY) = 3
 +fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +read(3, "87000\n", 4096)                = 6
 +close(3)                                = 0
 +openat(AT_FDCWD, "/sys/class/hwmon/hwmon1/temp3_crit", O_RDONLY) = 3
 +fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
 +read(3, "105000\n", 4096)               = 7
 +close(3)                                = 0
 +write(1, "Core 1:        +54.0\302\260C  (high ="..., 61Core 1:        +54.0°C  (high = +87.0°C, crit = +105.0°C)
 +) = 61
 +write(1, "\n", 1
 +)                       = 1
 +exit_group(0)                           = ?
 ++++ exited with 0 +++
 +</code>
 +</WRAP>
  
  • linux/strace.txt
  • 最終更新: 2020/09/11 20:17
  • by ともやん