【2017年整理】操作系统实验一报告

上传人:爱****1 文档编号:942167 上传时间:2017-05-23 格式:DOC 页数:9 大小:337KB
返回 下载 相关 举报
【2017年整理】操作系统实验一报告_第1页
第1页 / 共9页
【2017年整理】操作系统实验一报告_第2页
第2页 / 共9页
【2017年整理】操作系统实验一报告_第3页
第3页 / 共9页
【2017年整理】操作系统实验一报告_第4页
第4页 / 共9页
【2017年整理】操作系统实验一报告_第5页
第5页 / 共9页
点击查看更多>>
资源描述

《【2017年整理】操作系统实验一报告》由会员分享,可在线阅读,更多相关《【2017年整理】操作系统实验一报告(9页珍藏版)》请在金锄头文库上搜索。

1、实验目的:了解和操作线程和进程的概念,熟悉 linux 下的命令,熟悉 vi 编辑,gcc 编译,gdb 调试实验思想: 线程与进程实现结果:1.cat : 把档案串连接后传到基本输出(萤幕或加 fileName 到另一个档案)cd dirName 变换工作目录至 dirName。 其中 dirName 表示法可为绝对路径或相对路径。若目录名称省略,则变换至使用者的 home directory (也就是刚 login 时所在的目录)。chmod Linux/Unix 的档案调用权限分为三级 : 档案拥有者、群组、其他。利用 chmod 可以藉以控制档案如何被他人所调用。cp 将一个档案拷贝至

2、另一档案,或将数个档案拷贝至另一目录cut cut -cnum1-num2 filename 显示每行从开头算起 num1 到 num2 的文字find 将档案系统内符合 expression 的档案列出来ln 硬连结的意思是一个档案可以有多个名称,而软连结的方式则是产生一个特殊的档案,该档案的内容是指向另一个档案的位置ls 显示指定工作目录下之内容(列出目前工作目录所含之档案及子目录) 。more 一页一页地显示更多内容mv 将一个档案移至另一档案,或将数个档案移至另一目录。rm 删除档案及目录rmdir 删除空的目录touch 指令改变档案的时间记录at linux at 命令允许相当复杂

3、的时间指定cal l 日历命令,可以显示当月日历、当年日历、指定月份年份的日历等。date 能够在 shell 上直接显示当前时间,根据选项参数可以根据指定格式输出。passwd 用来更改使用者的密码who 查看当前登录用户的情况mail 收发邮件命令talk 与其他使用者对谈wall 会将讯息传给每一个 mesg 设定为 yes 的上线使用者。write 传讯息给其他使用者kill 关闭进程ps 显示瞬间行程 (process) 的动态2.UID PID PPID C SZ RSS PSR STIME TTY TIME CMDzx 1521 1 0 19786 9012 1 22:21 ?

4、00:00:00 /usr/lib/evolution/evolution-data-server-2.28 -oaf-activate-iid=OAFIID:GNOME_Evolution_DataSzx 2562 1 0 6084 2748 0 22:51 ? 00:00:00 /usr/bin/gnome-keyring-daemon -daemonize -loginzx 2580 2556 0 6608 7028 1 22:51 ? 00:00:00 gnome-sessionzx 2611 2580 0 4114 3032 0 22:51 ? 00:00:02 /usr/bin/i

5、bus-daemon -ximzx 2615 2580 0 821 360 0 22:51 ? 00:00:00 /usr/bin/ssh-agent /usr/bin/dbus-launch -exit-with-session gnome-sessionzx 2618 1 0 846 764 1 22:51 ? 00:00:00 /usr/bin/dbus-launch -exit-with-session gnome-sessionzx 2619 1 0 830 1520 1 22:51 ? 00:00:00 /bin/dbus-daemon -fork -print-pid 5 -pr

6、int-address 7 -sessionzx 2620 2611 0 2263 3348 0 22:51 ? 00:00:00 /usr/lib/ibus/ibus-gconfzx 2622 2611 0 14567 28104 0 22:51 ? 00:00:06 python /usr/share/ibus/ui/gtk/main.pyzx 2624 1 0 4377 6136 1 22:51 ? 00:00:00 /usr/lib/ibus/ibus-x11 -kill-daemonzx 2627 1 0 2013 4456 0 22:51 ? 00:00:00 /usr/lib/l

7、ibgconf2-4/gconfd-2zx 2629 2611 0 6450 10728 0 22:51 ? 00:00:01 /usr/lib/ibus-pinyin/ibus-engine-pinyin -ibuszx 2637 1 0 22417 9532 0 22:51 ? 00:00:00 /usr/lib/gnome-settings-daemon/gnome-settings-daemonzx 2640 1 0 1665 2348 0 22:51 ? 00:00:00 /usr/lib/gvfs/gvfsdzx 2646 2580 0 5185 8132 0 22:51 ? 00

8、:00:00 gnome-power-managerzx 2647 2580 0 12438 12496 1 22:51 ? 00:00:00 nm-applet -sm-disablezx 2649 2580 0 12281 17776 0 22:51 ? 00:00:00 gnome-panelzx 2651 1 0 7570 2640 1 22:51 ? 00:00:00 /usr/lib/gvfs/gvfs-fuse-daemon /home/zx/.gvfszx 2653 2580 1 20211 25592 1 22:51 ? 00:00:11 /usr/bin/compizzx

9、2656 2580 0 28032 40612 0 22:51 ? 00:00:06 nautiluszx 2658 1 0 23908 4748 0 22:51 ? 00:00:05 /usr/bin/pulseaudio -start -log-target=syslogzx 2660 2580 0 5014 7956 0 22:51 ? 00:00:00 bluetooth-appletzx 2661 2580 0 4759 6328 0 22:51 ? 00:00:00 /usr/lib/policykit-1-gnome/polkit-gnome-authentication-age

10、nt-1zx 2680 2658 0 2688 2992 0 22:51 ? 00:00:00 /usr/lib/pulseaudio/pulse/gconf-helperzx 2681 1 0 1793 3100 0 22:51 ? 00:00:00 /usr/lib/gvfs/gvfsd-trash -spawner :1.8 /org/gtk/gvfs/exec_spaw/0zx 2684 1 0 955 1072 0 22:51 ? 00:00:00 syndaemon -i 0.5 -kzx 2686 1 0 8227 3904 0 22:51 ? 00:00:00 /usr/lib

11、/gvfs/gvfs-gdu-volume-monitorzx 2688 1 0 10579 3668 0 22:51 ? 00:00:00 /usr/lib/bonobo-activation/bonobo-activation-server -ac-activate -ior-output-fd=19zx 2702 1 0 11332 15472 1 22:51 ? 00:00:02 /usr/lib/gnome-panel/wnck-applet -oaf-activate-iid=OAFIID:GNOME_Wncklet_Factory -oaf-ior-fdzx 2703 1 0 1

12、834 2392 0 22:51 ? 00:00:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitorzx 2704 1 0 9570 11648 1 22:51 ? 00:00:00 /usr/lib/gnome-applets/trashapplet -oaf-activate-iid=OAFIID:GNOME_Panel_TrashApplet_Factoryzx 2706 1 0 4290 2348 0 22:51 ? 00:00:00 /usr/lib/gvfs/gvfs-afc-volume-monitorzx 2712 1 0 13549 14

13、364 0 22:51 ? 00:00:00 /usr/lib/indicator-applet/indicator-applet-session -oaf-activate-iid=OAFIID:GNOME_FastUserSwzx 2713 1 0 9575 15052 1 22:51 ? 00:00:00 /usr/lib/gnome-panel/clock-applet -oaf-activate-iid=OAFIID:GNOME_ClockApplet_Factory -oaf-izx 2716 1 0 14291 13448 0 22:51 ? 00:00:00 /usr/lib/indicator-applet/indicator-applet -oaf-activate-iid=OAFIID:GNOME_IndicatorApplet_Fazx 2717 1 0 5948 9324 0 22:51 ? 00:00:00 /usr/lib/gnome-panel/notification-area-applet -oaf-activate-iid=OAFIID:GNOME_NotificationArezx 2731

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 研究报告 > 综合/其它

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号