Advertisement
sandervanvugt

linperf history

Jun 24th, 2020
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.88 KB | None | 0 0
  1. [root@perf ~]# history
  2. 1 cd /proc/sys/kernel/
  3. 2 cat sysrq
  4. 3 cd /proc/sys/vm
  5. 4 echo 110 > swappiness
  6. 5 sysctl -a | grep swappi
  7. 6 cd
  8. 7 systemctl status tuned
  9. 8 tuned-adm help
  10. 9 tuned-adm list
  11. 10 tuned-adm profile throughput-performance
  12. 11 tuned-adm list
  13. 12 tuned-adm recommend
  14. 13 cd /usr/lib/tuned/
  15. 14 ls
  16. 15 tree
  17. 16 cd throughput-performance/
  18. 17 vim tuned.conf
  19. 18 mkdir /etc/tuned/sander
  20. 19 cp tuned.conf /etc/tuned/sander
  21. 20 cd /etc/tuned/sander/
  22. 21 vim tuned.conf
  23. 22 tuned-adm list
  24. 23 tuned-adm profile sander
  25. 24 tuned-adm list
  26. 25 sysctl -a | grep swappi
  27. 26 reboot
  28. 27 su - linda
  29. 28 sysctl -a | grep swapp
  30. 29 tuned-adm list
  31. 30 vim /etc/tuned/sander/tuned.conf
  32. 31 cd luth/
  33. 32 ./countdown 12
  34. 33 systemctl cat tuned.service
  35. 34 top
  36. 35 grep ctive /proc/meminfo
  37. 36 git clone https://github.com/sandervanvugt/linperf
  38. 37 git clone https://github.com/sandervanvugt/lin-perf
  39. 38 git clone https://github.com/sandervanvugt/performance
  40. 39 cd performance/
  41. 40 ls
  42. 41 cat stress1.service
  43. 42 cat stress2.service
  44. 43 lscpu
  45. 44 cd /sys/
  46. 45 ls
  47. 46 cd bus/
  48. 47 ls
  49. 48 cd cpu/
  50. 49 ls
  51. 50 cd devices/
  52. 51 ls
  53. 52 ls cpu1/
  54. 53 cat cpu1/online
  55. 54 echo 0 > cpu1/online
  56. 55 echo 0 > cpu2/online
  57. 56 echo 0 > cpu3/online
  58. 57 lscpu
  59. 58 top
  60. 59 cd
  61. 60 cd luth/
  62. 61 ls
  63. 62 cd performance/
  64. 63 ls
  65. 64 cp stress* /etc/systemd/system/
  66. 65 systemctl daemon-reload
  67. 66 systemctl start stress1.service
  68. 67 bg
  69. 68 systemctl start stress2.service
  70. 69 bg
  71. 70 top
  72. 71 while true; do true; done &
  73. 72 top
  74. 73 history
  75. 74 history | less
  76. 75 systemd-cgtop
  77. 76 systemd-cgls
  78. 77 top
  79. 78 vim /etc/tuned/tuned-main.conf
  80. 79 man -k ulimit
  81. 80 man ulimit
  82. 81 cd /etc/security/
  83. 82 ls
  84. 83 vim limits.
  85. 84 vim limits.conf
  86. 85 useradd linda
  87. 86 su - linda
  88. 87 top
  89. 88 systemd-cgls
  90. 89 cd
  91. 90 cd luth/
  92. 91 ./countdown 12
  93. 92 cd /sys/fs/cgroup/
  94. 93 ls
  95. 94 cd cpuset/
  96. 95 ls
  97. 96 cat cpuset.cpu
  98. 97 cat cpuset.cpus
  99. 98 cd /sys/bus/cpu/devices/
  100. 99 ls
  101. 100 echo 1 > cpu1/online
  102. 101 echo 1 > cpu2/online
  103. 102 echo 1 > cpu3/online
  104. 103 lscpu
  105. 104 cd /sys/fs/cgroup/
  106. 105 ls
  107. 106 cd cpuset/
  108. 107 ls
  109. 108 cat cpuset.cpus
  110. 109 mkdir sander
  111. 110 cd sander
  112. 111 ls
  113. 112 echo 1 > cpuset.cpus
  114. 113 cat cpuset.cpus
  115. 114 dd if=/dev/zero of=/dev/null &
  116. 115 top
  117. 116 ls
  118. 117 cat tasks
  119. 118 echo 5516 > tasks
  120. 119 cd
  121. 120 taskset --help
  122. 121 taskset -c
  123. 122 taskset 01 5513
  124. 123 taskset 01 dd if=/dev/zero of=/dev/null &
  125. 124 top
  126. 125 history
  127. 126 systemctl start stress1
  128. 127 bg
  129. 128 systemctl start stress2
  130. 129 bg
  131. 130 top
  132. 131 cd /sys/bus/cpu/devices/
  133. 132 echo 0 cpu{1,2,3}/online
  134. 133 echo 0 > cpu{1,2,3}/online
  135. 134 echo 0 > cpu1/online
  136. 135 echo 0 > cpu2/online
  137. 136 echo 0 > cpu3/online
  138. 137 top
  139. 138 kill -9 5575
  140. 139 kill -9 5572
  141. 140 man systemd.resource-control
  142. 141 cd
  143. 142 top
  144. 143 echo h > /proc/sysrq-trigger
  145. 144 dmesg
  146. 145 echo f > /proc/sysrq-trigger
  147. 146 su - linda
  148. 147 journalctl
  149. 148 less /var/log/messages
  150. 149 cd /proc/6150/
  151. 150 cat cmdline
  152. 151 ls
  153. 152 cat oom_score
  154. 153 cd /proc/sys/vm/
  155. 154 cat panic_on_oom
  156. 155 echo 1 > panic_on_oom
  157. 156 history
  158. 157 echo f > /proc/sysrq-trigger
  159. 158 cd /proc/sys/vm/
  160. 159 ls
  161. 160 less /proc/meminfo
  162. 161 free -m
  163. 162 echo 50 > nr_hugepages
  164. 163 grep Huge /proc/meminfo
  165. 164 getconf PAGE_SIZE
  166. 165 yum install -y valgrind
  167. 166 valgrind --help
  168. 167 valgrind --leak-check=full ls
  169. 168 history
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement