Linux 录制桌面的简单工具
It's actually an application named <em><strong>recordmydesktop</strong></em>, which can be installed by <strong>sudo apt-get install recordmydesktop</strong>.
There are various kinds of purpose to use, but for me, I would like to present or show some mock-up to other people. I made a simple file
<strong>#!/bin/bash
recordmydesktop -windowid $( xwininfo -frame | awk '/Window id:/ {print $4}' )</strong>
After running this script, there is a cross cursor which allows you to select a window. As soon as the window is selected, the recording start. To end the recording, simply type Ctrl+C. After several lines of screen output, there is a .ogv file generated.
You can use Movie Player to view the file if you are using Linux. However, you can still view this file by using VLC, which can be installed to both Mac and Windows.
相关文档:
linux修改主机名的方法
用hostname命令可以临时修改机器名,但机器重新启动之后就会恢复原来的值。
#hostname //查看机器名
#hostname -i //查看本机器名对应的ip地址
另外一种方法就是之久修改配置文件
修改/etc/sysconfig/network 修改这个文件,系统才有效
/etc ......
1 接口
我们先看看i915_drv.c里面申明的driver变量:
static struct drm_driver driver = {
/* don't use mtrr's here, the Xserver or user space app should
* deal with them for intel hardware.
*/
.driver_features =
DRI ......
linux 中断处理流程
linux中断处理程序分解为两个半部:顶半部(top half)和底半部(bottom half)
1.
顶半部:用于完成尽可能少的比较急的功能,往往只是简单地读取寄存器中的中断状态并清除中断标志后进行“登记中断”的工作。一般设计成不
可中断。这样顶半部的执行速度会很快,可以响应服务更多的中断请求。 ......
显示当前系统内存容量:
free -m
uname显示系统信息:
-a :所有系统相关信息
-s :系统核心名称
-r :核心版本
-p :cpu类型
-r :硬件平台
将当前所有联机和监听数据列出来:
netstat -a
列出所有进程打开的套接字文件:
lsof -u db2inst1 -a -U 或 lsof -u db2inst1 ......
转自:弯曲评论:tektalk.cn homepage 第一部分 MIPS CPU 体系结构概述 1. MIPS概述 本文介绍MIPS体系结构,着重于其寄存器约定,MMU及存储管理,异常和中断处理等等。 通过本文,希望能提供一个基本的轮廓概念给对MIPS CPU及之上操作系统有兴趣的读者,并能开始阅读更详细的归约(SPECIFICATION)资料。 (在线PDF文件下 ......