Skip to content

Instantly share code, notes, and snippets.

@rmoriz
Created December 14, 2011 22:33
Show Gist options
  • Select an option

  • Save rmoriz/1478875 to your computer and use it in GitHub Desktop.

Select an option

Save rmoriz/1478875 to your computer and use it in GitHub Desktop.
root@beaglebone:~# free
Unknown HZ value! (94) Assume 100.
total used free shared buffers cached
Mem: 254172 77096 177076 0 13340 27516
-/+ buffers/cache: 36240 217932
Swap: 0 0 0
...
ruby test.rb
[2011-12-14 22:31:28] INFO WEBrick 1.3.1
[2011-12-14 22:31:28] INFO ruby 1.9.3 (2011-10-30) [armv7l-linux-eabi]
== Sinatra/1.3.1 has taken the stage on 4567 for development with backup from WEBrick
...
root@beaglebone:~# free
Unknown HZ value! (73) Assume 100.
total used free shared buffers cached
Mem: 254172 94304 159868 0 13664 31816
-/+ buffers/cache: 48824 205348
Swap: 0 0 0
... (then: gem install thin; reboot) ...
root@beaglebone:~# ruby test.rb
== Sinatra/1.3.1 has taken the stage on 4567 for development with backup from Thin
>> Thin web server (v1.3.1 codename Triple Espresso)
>> Maximum connections set to 1024
...
Unknown HZ value! (79) Assume 100.
total used free shared buffers cached
Mem: 254172 88080 166092 0 13540 32260
-/+ buffers/cache: 42280 211892
Swap: 0 0 0
... (remove stuff, reboot) ...
systemctl disable bone101.service
systemctl disable cloud9.service
systemctl disable gateone.service
...
free:
root@beaglebone:~# free
Unknown HZ value! (88) Assume 100.
total used free shared buffers cached
Mem: 254172 39516 214656 0 11124 13152
-/+ buffers/cache: 15240 238932
Swap: 0 0 0
...
root@beaglebone:~# ruby test.rb
== Sinatra/1.3.1 has taken the stage on 4567 for development with backup from Thin
>> Thin web server (v1.3.1 codename Triple Espresso)
>> Maximum connections set to 1024
>> Listening on 0.0.0.0:4567, CTRL+C to stop
192.168.3.1 - - [14/Dec/2011 22:53:48] "GET /hi HTTP/1.1" 200 12 0.0218
192.168.3.1 - - [14/Dec/2011 22:53:49] "GET /favicon.ico HTTP/1.1" 404 454 0.0076
...
root@beaglebone:~# free
Unknown HZ value! (80) Assume 100.
total used free shared buffers cached
Mem: 254172 60252 193920 0 11672 20300
-/+ buffers/cache: 28280 225892
Swap: 0 0 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment