[SQL Server] sp_who, sp_who2和sp_who3sp_who可以返回如下信息: (可选参数LoginName, 或active代表活动会话数)Spid (系统进程ID)status (进程状态)loginame (用户登录名)hostname(用户主机名)blk (阻塞进程的...
分类:
其他好文 时间:
2015-12-23 12:47:03
阅读次数:
373
功能说明:显示目前登入系统的用户信息。 语 法:who [-Himqsw][--help][--version][am i][记录文件] 补充说明:执行这项指令可得知目前有那些用户登入系统,单独执行who指令会列出登入帐号,使用的终端机,登入时间以及从何处登入或正在使用哪个X显示器。 参 ...
分类:
系统相关 时间:
2015-12-23 10:44:35
阅读次数:
215
黑客与画家:硅谷创业之父paul graham关于回答‘How can I learn to program’How can I learn to program?Find a friend who knows how to program. Get them to set you up with ...
分类:
其他好文 时间:
2015-12-22 13:09:40
阅读次数:
158
Suppose that a website contains two tables, the Customers table and the Orders table. Write a SQL query to find all customers who never order anything...
分类:
数据库 时间:
2015-12-21 22:01:29
阅读次数:
192
问:1 如何查看当前的Linux服务器的运行级别?答: ‘who -r’ 和 ‘runlevel’ 命令可以用来查看当前的Linux服务器的运行级别。问:2 如何查看Linux的默认网关?答: 用 “route -n” 和 “netstat -nr” 命令,我们可以查看默认网关。除了默认的网关信息,...
分类:
系统相关 时间:
2015-12-21 15:36:06
阅读次数:
167
Linux是个多用户系统有时候也要了解其他用户现在在干什么所以在本节中还将接触多用户方面的内容同时Linux是一个多进程系统经常需要对这些进程进行一些调配和管理而要进行管理首先就要知道现在的进程情况究竟有哪些进程?进程情况如何?等等所以需要进程查看方面的工作who命令该..
分类:
系统相关 时间:
2015-12-15 12:38:59
阅读次数:
158
Many years ago , in Teddy’s hometown there was a man who was called “Bone Collector”. This man like to collect varies of bones , such as dog’s , cow’s...
分类:
其他好文 时间:
2015-12-10 18:37:43
阅读次数:
195
一、命令1、查指令,man, info, /usr/share/doc/;2、文档,nano lyp.txt;3、谁在线,who;4、数据同步写入硬盘,sync;5、显示档案,ls;6、目录命令cd:变换目录pwd:显示当前目录mkdir:建立一个新的目录rmdir:删除一个空的目录7、复制、删除和...
分类:
系统相关 时间:
2015-12-09 16:40:14
阅读次数:
186
改变访问权限chmod格式:chmod[who][+1-1=][mode]fileName参数:who=u,go,amode:+-=权限字母数字组合:r-4w-2x-1r-x-5r---4--x-1#chmodu=rwx,g=r--,o=r--123.txt#chmod744123.txt#ls-l123.txt-rwxr--r--1rootroot1277712月420:31123.txt给文件增删某个权限#chmodu-x,g+w,o--123..
分类:
其他好文 时间:
2015-12-09 07:25:50
阅读次数:
193
lunix基础命令简析which:showsthefullpathof(shell)commands.显示在指定的shell中,查找系统命令(外部命令)在系统中的具体位置,并返回第一个结果。语法:which[options][--]programname[...]选项:-a:显示命令的全部路径,不止第一个-v:显示命令的版本及相关信息http://w..
分类:
其他好文 时间:
2015-12-09 07:19:35
阅读次数:
156