1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179 | root@irc.sortix.org ~ # kernelinfo allocations | sort -n | grep -Ev AddSegment && memstat -a | sort -h && ps -v | head -1 && ps -v | tail -n +2 | sort -h -k 5M && date && uptime
0 B 0 allocations copy.cpp:233 GetStringFromUser
0 B 0 allocations descriptor.cpp:489 writev
0 B 0 allocations descriptor.cpp:771 open
0 B 0 allocations descriptor.cpp:78 LinkInodeInDir
0 B 0 allocations descriptor.cpp:81 LinkInodeInDir
0 B 0 allocations initrd.cpp:265 ExtractDir
0 B 0 allocations initrd.cpp:401 ReadTar
0 B 0 allocations initrd.cpp:435 ReadTar
0 B 0 allocations initrd.cpp:442 ReadTar
0 B 0 allocations initrd.cpp:543 tixinfo_lookup
0 B 0 allocations initrd.cpp:599 ExtractTix
0 B 0 allocations initrd.cpp:622 ExtractTix
0 B 0 allocations initrd.cpp:631 ExtractTix
0 B 0 allocations initrd.cpp:643 ExtractTix
0 B 0 allocations io.cpp:850 sys_mkpartition
0 B 0 allocations io.cpp:855 sys_mkpartition
0 B 0 allocations kernel.cpp:765 InitThread
0 B 0 allocations net/em/em.cpp:1043 Init
0 B 0 allocations net/tcp.cpp:1972 sendmsg
0 B 0 allocations net/udp.cpp:621 recvmsg
0 B 0 allocations net/udp.cpp:722 sendmsg
0 B 0 allocations pipe.cpp:480 recvmsg
0 B 0 allocations pipe.cpp:806 sendmsg
0 B 0 allocations process.cpp:1394 sys_execve
0 B 0 allocations process.cpp:1423 sys_execve
0 B 0 allocations string.cpp:45 Substring
64 B 1 allocations kernel.cpp:261 KernelInit
64 B 1 allocations kernel.cpp:272 KernelInit
64 B 1 allocations pty.cpp:102 AllocatePTYNumber
96 B 1 allocations kernel.cpp:252 KernelInit
96 B 1 allocations kernel.cpp:367 KernelInit
96 B 1 allocations kernel.cpp:471 BootThread
96 B 1 allocations kernel.cpp:474 BootThread
96 B 1 allocations log.cpp:198 Init
128 B 1 allocations fcache.cpp:252 Init
128 B 1 allocations kernel.cpp:485 BootThread
128 B 1 allocations kernel.cpp:488 BootThread
128 B 1 allocations pty.cpp:795 sys_mkpty
128 B 1 allocations pty.cpp:796 sys_mkpty
128 B 1 allocations pty.cpp:803 sys_mkpty
128 B 1 allocations pty.cpp:805 sys_mkpty
160 B 1 allocations kernel.cpp:516 BootThread
160 B 1 allocations kernel.cpp:526 BootThread
160 B 1 allocations net/arp.cpp:405 Resolve
160 B 1 allocations net/arp.cpp:676 Handle
160 B 1 allocations net/if.cpp:83 RegisterNetworkInterface
160 B 1 allocations time.cpp:95 Init
160 B 1 allocations time.cpp:97 Init
160 B 1 allocations video.cpp:57 RegisterDevice
192 B 1 allocations kernel.cpp:519 BootThread
192 B 1 allocations log.cpp:203 Init
192 B 1 allocations mtable.cpp:70 AddMountUnlocked
224 B 1 allocations disk/ata/ata.cpp:38 InitializeDevice
224 B 1 allocations disk/ata/hba.cpp:290 Initialize
224 B 1 allocations gpu/bga/bga.cpp:595 TryInitializeDevice
224 B 1 allocations io.cpp:845 sys_mkpartition
224 B 1 allocations kb/kblayout.cpp:82 Upload
224 B 1 allocations kernel.cpp:534 BootThread
224 B 1 allocations kernel.cpp:541 BootThread
224 B 1 allocations kernel.cpp:571 BootThread
224 B 1 allocations kernel.cpp:579 BootThread
224 B 1 allocations kernel.cpp:587 BootThread
224 B 1 allocations kernel.cpp:595 BootThread
224 B 1 allocations net/fs.cpp:683 Init
224 B 1 allocations net/lo/lo.cpp:143 Init
224 B 1 allocations pty.cpp:787 sys_mkpty
224 B 1 allocations vga.cpp:111 Init
256 B 1 allocations kernel.cpp:481 BootThread
256 B 2 allocations tty.cpp:852 ioctl
256 B 2 allocations tty.cpp:855 ioctl
288 B 1 allocations kernel.cpp:564 BootThread
320 B 1 allocations lfbtextbuffer.cpp:81 CreateLFBTextBuffer
448 B 1 allocations net/em/em.cpp:984 Instance
448 B 2 allocations net/if.cpp:89 RegisterNetworkInterface
480 B 1 allocations kernel.cpp:556 BootThread
544 B 1 allocations linebuffer.cpp:57 Push
576 B 1 allocations pty.cpp:392 RegisterPTY
768 B 1 allocations disk/ata/hba.cpp:249 Initialize
960 B 2 allocations process.cpp:681 Fork
1056 B 1 allocations ptable.cpp:67 Allocate
1120 B 5 allocations net/tcp.cpp:2590 Socket
1408 B 11 allocations descriptor.cpp:210 Fork
1536 B 12 allocations pipe.cpp:1495 sys_pipe2
1536 B 12 allocations pipe.cpp:1499 sys_pipe2
1664 B 13 allocations pipe.cpp:1496 sys_pipe2
1664 B 13 allocations pipe.cpp:1500 sys_pipe2
1824 B 19 allocations dtable.cpp:68 Fork
2080 B 1 allocations worker.cpp:48 Init
2112 B 1 allocations net/em/em.cpp:898 Reset
2112 B 1 allocations net/em/em.cpp:900 Reset
2496 B 39 allocations descriptor.cpp:752 open
2496 B 6 allocations net/udp.cpp:1254 Socket
2688 B 12 allocations pipe.cpp:1487 sys_pipe2
2752 B 3 allocations dtable.cpp:123 Enlargen
2912 B 13 allocations pipe.cpp:1489 sys_pipe2
2976 B 16 allocations poll.cpp:155 CopyFdsFromUser
4128 B 1 allocations lfbtextbuffer.cpp:75 CreateLFBTextBuffer
4672 B 1 allocations pty.cpp:782 sys_mkpty
4800 B 30 allocations net/fs.cpp:605 Accept
4800 B 30 allocations net/fs.cpp:608 Accept
4928 B 22 allocations net/tcp.cpp:693 accept4
5376 B 42 allocations descriptor.cpp:833 open_elem
5376 B 42 allocations net/socket.cpp:59 sys_socket
5376 B 42 allocations net/socket.cpp:63 sys_socket
5376 B 42 allocations vnode.cpp:122 open
6656 B 52 allocations descriptor.cpp:990 accept4
6656 B 52 allocations vnode.cpp:410 accept4
7040 B 55 allocations poll.cpp:139 CreateSlave
8224 B 1 allocations fcache.cpp:199 AddArea
9536 B 17 allocations dtable.cpp:71 Fork
9760 B 61 allocations net/fs.cpp:241 import_addr
11072 B 1 allocations kernel.cpp:370 KernelInit
11072 B 1 allocations kernel.cpp:658 BootThread
12320 B 1 allocations net/packet.cpp:71 GetPacket
12480 B 30 allocations net/fs.cpp:601 Accept
12896 B 31 allocations net/fs.cpp:692 Socket
20384 B 16 allocations poll.cpp:238 sys_ppoll
21024 B 73 allocations pipe.cpp:1247 Connect
23360 B 146 allocations net/packet.cpp:90 GetPacket
23712 B 1 allocations kb/kblayout.cpp:79 Upload
23808 B 1 allocations kb/kblayout.cpp:57 Upload
28768 B 1 allocations net/arp.cpp:239 GetTable
32000 B 25 allocations thread.cpp:63 AllocateThread
41120 B 5 allocations thread.cpp:280 CreateKernelThread
52128 B 1 allocations lfbtextbuffer.cpp:77 CreateLFBTextBuffer
57376 B 1 allocations lfbtextbuffer.cpp:79 CreateLFBTextBuffer
65664 B 4 allocations pipe.cpp:1211 WriteResize
156864 B 19 allocations process.cpp:1479 sys_tfork
210368 B 19 allocations process.cpp:671 Fork
366336 B 1431 allocations fs/kram.cpp:328 mkdir
524320 B 1 allocations net/ping.cpp:103 Init
524320 B 1 allocations net/ping.cpp:104 Init
524320 B 1 allocations net/tcp.cpp:134 Init
524320 B 1 allocations net/tcp.cpp:135 Init
524320 B 1 allocations net/udp.cpp:75 Init
524320 B 1 allocations net/udp.cpp:76 Init
709312 B 1432 allocations fs/kram.cpp:260 AddChild
865024 B 3379 allocations fs/kram.cpp:458 symlink
1313120 B 5 allocations net/tcp.cpp:2587 Socket
1686912 B 26246 allocations string.cpp:37 Clone
1920032 B 1 allocations lfbtextbuffer.cpp:73 CreateLFBTextBuffer
2090144 B 21726 allocations fcache.cpp:492 ChangeNumBlocks
4524192 B 69 allocations pipe.cpp:1243 Connect
4699136 B 18356 allocations fs/kram.cpp:311 open
6494400 B 198 allocations fcache.cpp:212 AddArea
6565600 B 25 allocations net/tcp.cpp:1242 ProcessPacket
0B execve 0%
16.0K driver 0%
664.0K network 0%
2.5M physical 0%
5.1M paging 0%
36.0M kernel 1%
48.3M userspace 2%
791.9M filesystem 38%
885.9M used 43%
1.9G total 100%
PID TTY TIME %MEM VMS CMD
1 tty1 00:00:00 0% 784.0K /sbin/init
10 tty1 00:00:00 0% 2.5M /sbin/sshd
11 tty1 00:00:00 0% 2.1M /bin/authd
13 tty1 00:00:00 0% 4.1M /bin/ssld
14 tty1 00:00:00 0% 3.1M /bin/wsockd
15 tty1 00:00:00 0% 3.1M /bin/bandb
2 tty1 00:00:00 0% 636.0K /bin/sortix-sh
23 ? 00:00:00 0% 3.1M /sbin/sshd
24 pts/0 00:00:00 0% 636.0K /bin/sortix-sh
44 ? 00:00:00 0% 0B /bin/kernelinfo
45 ? 00:00:00 0% 0B /bin/sort
47 ? 00:00:00 0% 0B /bin/memstat
49 ? 00:00:00 0% 0B /bin/ps
5 tty1 00:00:00 0% 628.0K /sbin/dhclient
51 pts/0 00:00:00 0% 588.0K /bin/ps
7 tty1 00:00:00 0% 3.2M /sbin/httpd
8 tty1 00:00:00 0% 2.1M /sbin/ntpd
9 tty1 00:00:00 0% 3.9M /bin/solanum
Mon Apr 18 11:13:44 UTC 2022
1 min, 20 secs
root@irc.sortix.org ~ #
|