Skip to content

schspa/script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README.org

script

misc shell script

adb.sh

used to automatically prompt user to select a device when multi device exits

curl https://raw.githubusercontent.com/schspa/script/master/adb.sh -o ~/.adb.sh
echo "source ~/.adb.sh" >> ~/.zshrc

maps-summary.py

./maps-summary.py -p /proc/11481/maps
sizedevinodepath
4505608:07807096/usr/lib/xdg-document-portal
27443200:000[heap]
13516800:000
618496008:07811806/usr/lib/locale/locale-archive
1228808:07811793/usr/lib/librt-2.31.so
3686408:07790843/usr/lib/libblkid.so.1.1.0
409608:07795581/usr/lib/libdl-2.31.so
819208:07792709/usr/lib/libpcre.so.1.2.11
819208:07792562/usr/lib/libffi.so.6.0.4
1638408:07811789/usr/lib/libresolv-2.31.so
4915208:07791231/usr/lib/libmount.so.1.1.0
1228808:07792817/usr/lib/libz.so.1.2.11
409608:07790914/usr/lib/libgmodule-2.0.so.0.6200.5
15155208:07795572/usr/lib/libc-2.31.so
2867208:07795616/usr/lib/libpthread-2.31.so
3276808:07792569/usr/lib/libfuse.so.2.9.9
11468808:07790894/usr/lib/libglib-2.0.so.0.6200.5
5734408:07801080/usr/lib/libgobject-2.0.so.0.6200.5
22118408:07790879/usr/lib/libgio-2.0.so.0.6200.5
3686408:07806775/usr/lib/libjson-glib-1.0.so.0.400.4
819208:07795561/usr/lib/ld-2.31.so
13516800:000[stack]
1228800:000[vvar]
409600:000[vdso]
409600:000[vsyscall]

kbuild.py

Used to rebuild a single directory in kernel source tree.

./kbuild.py -k ~/work/kernel -d init
./kbuild.py -k ~/work/j5/kernel -d init/main.c

jekins

Trigger a jekins build & return it’s console text and Report url in time.

python3 ~/work/src/script/trigger-jekins-build.py -r https://ci.hobot.cc -u zhaohui.shi -b 'platform_j5/local_trouble_shooting' -j ~/work/src/kernel-ci/case/j5-jekins.json -c 'unit_test_j5_sleep-wakeup.json;unit_test_j5_pm/perflock.json'

Get logs from a jekins build to stdout

python3 ~/work/src/script/get-jekins-log.py -r https://ci.hobot.cc -u zhaohui.shi -b platform_j5/j5_testing -n 2142

About

misc shell script

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published