It can be checked by the same method of Google Cloud Functions
$ gcloud app deploy --quiet app.yaml
$ curl "https://nodejs8-dot-${PROJECT_NAME}.appspot.com/read" -H 'Content-Type:application/json' -d '{"file": "/proc/filesystems"}'
nodev 9p
nodev devtmpfs
nodev proc
nodev ramdiskfs
nodev sysfs
nodev tmpfs
$ curl "https://nodejs8-dot-${PROJECT_NAME}.appspot.com/read" -H 'Content-Type:application/json' -d '{"file": "/proc/stat"}'
cpu 0 0 0 0 0 0 0 0 0 0
cpu0 0 0 0 0 0 0 0 0 0 0
cpu1 0 0 0 0 0 0 0 0 0 0
cpu2 0 0 0 0 0 0 0 0 0 0
cpu3 0 0 0 0 0 0 0 0 0 0
cpu4 0 0 0 0 0 0 0 0 0 0
cpu5 0 0 0 0 0 0 0 0 0 0
cpu6 0 0 0 0 0 0 0 0 0 0
cpu7 0 0 0 0 0 0 0 0 0 0
intr 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ctxt 0
btime 1528852185
processes 0
procs_running 0
procs_blocked 0
softirq 0 0 0 0 0 0 0 0 0 0 0
They are the same output with the gVisor document(/proc/filesystem
, /proc/stat
).
$ curl "https://nodejs8-dot-${PROJECT_NAME}.appspot.com/exec" -H 'Content-Type:application/json' -d '{"file": "/bin/dmesg"}'
[ 0.410051] Creating cloned children...
[ 0.861788] Checking naughty and nice process list...
[ 1.291077] Forking spaghetti code...
[ 1.582258] Synthesizing system calls...
[ 1.862408] Consulting tar man page...
[ 1.992003] Letting the watchdogs out...
[ 2.205865] Gathering forks...
[ 2.364687] Searching for needles in stacks...
[ 2.859057] Reading process obituaries...
[ 2.943188] Constructing home...
[ 3.150001] Ready!