pro.c |
KWrite |
1 — | ||||||
w | ||||||||
-rwxr-xr-x 1 root root 11393 Ji |
g |
Shell - Konsole <2> |
□ | |||||
-rwxr-xr-x 1 root root 5339 Ji | ||||||||
root@slax:-7Desktop/moj2# gcc | |
root@slax:~# ps -a | |||||||
l |
root@slax:~/Desktop/moj2# ./pr< |
PID TTY |
TIME CMD | |||||
[ |
test |
11298 pts/6 00:00:00 pro | ||||||
11299 pts/6 00:00:00 pro | ||||||||
napisałeś: test |
11300 pts/6 00:00:00 pro | |||||||
liczba znaków: 4 |
11301 pts/6 00:00:00 pro | |||||||
działania |
12284 pts/9 00:00:00 ps | |||||||
root@5lax:~# ipcs | ||||||||
napisałeś: działania | ||||||||
liczba znaków: 9 |
------ Shared Memory Segments | |||||||
[ |
programu |
key shmid |
owner |
perms |
bytes |
nattch |
status | |
0x00000000 262144 |
root |
600 |
4 |
4 |
dest | |||
napisałeś: programu |
0x00000000 65537 |
root |
644 |
790528 |
1 |
dest | ||
liczba znaków: 8 |
0x00000000 294914 |
root |
600 |
4 |
4 |
dest | ||
dalszy |
0x00000000 327683 |
root |
600 |
4 |
4 |
dest | ||
0x00000000 393220 |
root |
600 |
4 |
4 |
dest | |||
napisałeś: dalszy |
0x00000000 425989 |
root |
600 |
4 |
4 |
dest | ||
liczba znaków: 6 |
0x00000000 753670 |
root |
600 |
4 |
4 |
dest | ||
test |
0x00000000 819207 |
root |
600 |
4 |
4 |
dest | ||
Ox0001e240 884744 |
root |
600 |
4 |
4 | ||||
napisałeś: test | ||||||||
liczba znaków: 4 |
------ Semaphore Arrays ..... |
— | ||||||
□ |
key semid |
owner |
perms |
nsems | ||||
Ox0001e240 589824 |
root |
600 |
3 |
TrrrrcTPT^TTrn—oprazi—srzwrę
write(p[ 1] [ 1], pidl = fork();
&pid2, sizeof(
Ę if(pidl == -1){
printf("nie można utworzyć pri exit(0);
...... Message Queues ......
key nsqid owner
root@slax:|
used-bytes messages
1 2 pro.c - KWrite
3 4 Shell - Konsole
Shell - Konsole