查看完整版本: RE.ER新手学堂:关于Linux操作系统日志的介绍

xwmlz 2008-7-31 15:12

RE.ER新手学堂:关于Linux操作系统日志的介绍

新手学堂:关于Linux操作系统日志的介绍


系统的那些讯息以及应该记录在那些档案, 或如何显示, 是由 /etc/syslog.conf 来控制的. 以下是 RedHat 的 /var/log 目录中一些重要的记录档案的说明.

1. /var/log/lastlog : 记录每个使用者最近签入系统的时间, 因此当使用者签入时, 就会显示其上次签入的时间, 您应该注意一下这个时间, 若不是您上次签入的时间, 表示您的帐号可能被人盗用了. 此档可用 /usr/bin/lastlog 指令读取.

我们在登陆的时候不知道大家看到了不,LINUX会显示我们上一次登陆的时间 我们第一次开启的时候不知道但是在第二次的时候就看到了!呵呵 我够仔细的吧!

2. /var/run/utmp : 记录每个使用者签入系统的时间, who, users, finger 等指令会查这个档案.

3. /var/log/wtmp : 记录每个使用者签入及签出的时间, last 这个指令会查这个档案. 这个档案也记录 shutdown 及 reboot 的动作.

4. /var/log/secure : 记录那些站台连线进来, 以及那些位址连线失败.

5. /var/log/maillog : 记录 sendmail 及 pop 等相关讯息.

6. /var/log/cron : 记录 crontab 的相关讯息

7. /var/log/dmesg : /bin/dmesg 会将这个档案显示出来, 它是开机时的画面讯息.

8. /var/log/xferlog : 记录那些位址来 ftp 拿取那些档案.

9. /var/log/messages : 系统大部份的讯息皆记录在此, 包括 login, check password , failed login, ftp, su 等。



更多嵌入式技术文章和相关信息,请登陆:[url]www.re-er.com.cn[/url]
RE.ER嵌入式研究与推广中心,园你高薪就业梦想!!!!

浪子情 2008-7-31 16:15

那就谢了

















[img]http://www.ahcomic.com/bbs/images/common/sigline.gif[/img]
[url=http://www.sluke.cn/files/article/html/4/4788/]神墓[/url]

opqr242 2008-9-6 17:05

摇床 摇床价格报价

我公司专业生产:[url=http://www.hntyjx.com/yaochuang.htm]摇床 摇床价格报价[/url]   
[url=http://www.hntyjx.com]破碎机[/url]  [url=http://www.hntyjx.com]选矿生产线 选矿设备[/url]
联系方式:郭经理 13838506408

2008lsc 2008-9-10 09:04

比好视力眼贴经济多了,经常上网注意保护眼睛

[size=2][url=http://www.hnkxyy.com/cp/html/21.html][img]http://www.hnkxyy.com/cp/html/images/1217234978.jpg[/img][/url]
[url=http://www.hnkxyy.com/cp/html/21.html][color=#810081]眼维他好视力眼贴明目[/color][/url]
[/size]

stilcome01 2008-10-2 18:48

sister-in-law

 I was three years old, parents in a shipwreck killed in the accident. Xiangyiweiming my brother.
Although the difficult days of life, because the love of his brother, I spent a happy childhood. Unexpectedly, the 12-year-old that year, a mine also took away my only family, leaving my brother. At that time, my sister-in-law had just married. Not long after, it was addressed to the sister-in-law Yue Mei, the other is a butcher's wife died, his family is true that people are strong. A sister-in-law asked, "Kang with a line?" Red was wearing a green matchmaker has not come.
Since then, there have been several media are concerned, there is only one sister-in-law always asked, with Kang can, or will not do. Sister-in-law is the daughter of well-off family, had married older brother, was so strongly opposed to the family, or even to break off relations with her, but still married sister-in-law from her big brother is the importance of character. After the death of brother, sister-in-law no less by her parents who scoff at the force at an early date, she remarried, her younger brother and even arbitrary threatened to burn our house. Sister-in-law or the sentence, "may remarry, to be put on Kang." Although the virtuous and beautiful sister-in-law, but also Who is willing to marry her dragging a burden of the past? Her family are so straight foot, from the little longer. In the Towel Factory, a sister-in-law to go to work, a month before more than 100 pieces, and sometimes the factory with poor performance, but also with a backlog of wages for low-quality towels.
At that time, I Mindfulness junior high school, at least a month to use San Sishi block. Sister-in-law has openings ranging from money I always take the initiative to ask me, "obviously, with no money?" Said the one hand side of the money to plug in my pocket, "a provincial point of flowers, but the province can not spend the time, The body is a long, multi-RBI food. "I have a special notebook, above the record of each sister-in-law gave me the money, and the number of dates are clear. I think I grew up, and so the money must be properly repay the sister-in-law of ex-rearing. In the test, I said to the sister-in-law, "sister-in-law, I took a technical secondary school, you can work out a little early." A sister-in-law, angry at me, "how can you do, do you want to test the future of the University. No, too I have to come to. "The next day, Buyoufenyue sister-in-law took me to find teachers, volunteers will simply change over. I have successfully passed the county's focus on high school, that sister-in-law, to do a dinner to celebrate, "obviously, to study hard, to the sister-in-law Zheng Kouqi." Sister-in-law made it very easy, I listened very heavy.
The next day, sister-in-law is a red eye back. I asked her how it? Sister-in-law said a hoarse voice, all right, just let sand crashed into the eyes. Finished quickly go wash water. On the third day her younger brother ridiculed her over, I know, sister-in-law in order to raise my school fees, borrowing money where her parents, her parents who were driven out. Sister-in-law looked at some of the swollen eyes, I said, "sister-in-law, I do not study, the diploma is not so important, many of the plants require little education ... ..." and so on before I finish my sentence, a sister-in-law face a fight over "Reading do not have time, do as you like to Wamei brother!" My sister-in-law Chao roared loudly. And sister-in-law has always been a person that is the first time I see her angry. During that time, the late sister-in-law always come back each time have come back carrying a large bag, exhausted. I asked her what the bag loaded, sister-in-law do not always show me. One night the students to take home, far from the street to see squatting under a familiar figure in front of a piece of white cloth covered the top, filled with shoes and socks, what Zhentouxiannao. Is the sister-in-law. I did not go past "expose" sister-in-law. I looked at her from time to time is far from the bow are a bargain and others, and sometimes the money piecemeal arguments and the rationale. Dim lights, the sister-in-law's eyes flicker of hope shines.
11:30, sister-in-law only to come back with bags, Taikoudakou Chuanzhaocuqi, looked tired but full Zhan smile. I see sitting at the table, came to touch my head, "obviously, you hungry? Sister-in-law to cook for you." I nodded back to her, let her see the tears filled my eyes . That night, sister-in-law collapsed in the kitchen. After I heard loud thunder into the kitchen, her lie down on the floor, pale. I hasten her back to the hospital. The doctor said sister-in-law because of anemia caused by malnutrition, which leads to over-exertion coupled with syncope. I would like to take care of her in the hospital, sister-in-law was a boom, "Xi homework to go home soon, it is necessary to open a high first year is critical." Sister-in-law live in a house on the day to go home, still pale face. But she work as usual, the night is still only carrying bags to Baidi Tan. I can not help, a run down the bags away. Sister-in-law seemed to know that I discovered the secret to her, smiled and said to me, "clearly, almost, and then earn more is enough." Finished gently took my hand from the bags, shoulder diagonally into the night . Sister-in-law by a few per night to earn a few cents, is far from enough to pay school fees. Sister-in-law begged the factory to an advance of wages for three months, or almost, she went to sell blood blood.
Sister-in-law had anemia, able to get into the 300cc, nurses, it is eventually sent only given a free hand to pull the needle. Sister-in-law said they do not, then who is a nurse - I said that the sister of fellow students. My sister-in-law in person to schools, the enrollment procedures for, I went to bed dormitory Diebei, busy, busy outside. She left, the students said ,"*** good for you! "I was a ray of sorrow and grief over Chung," It was not my mother, my sister-in-law. "Hush about the students called, it was stolen the phrase," so the old Sister-in-law? "I Henhendideng at him. Schools far away from home, I go back once a month. Every time back, sister-in-law will prepare sumptuous meals of my hospitality. It also left more than good food, packed in transparent glass bottles, tell me what to eat, what to eat after. Airbus is looking at every step, only to lay down their sister-in-law's hand waving. And every time to go home, sister-in-law are also found in a number of the last old. Her head was found with white hair, I read Gao. In order for me to go to school, not only in the sister-in-law outside Baidi Tan, also linked to the carton factory paste the carton business, the assessments can not come back out on rainy days or when Bai Ditan, she sat on the lamp carton paste. Paste the four cents a box, carton plant material is provided. That home, saw her in the light of meticulous paste, and I said, "sister-in-law, I'll help you paste!" Sister-in-law raised his head and look at me, like wrinkles on the forehead of the winter, as Lao Shupi, a fold One of the fold. The loss of shiny black hair, suddenly there are a few variations of silver, then the eye-catching, as the number of knives, sharp and play in my mind. Sister-in-law smiled, "No, you have to book next year on the third step up sprint, Zheng Kouqi to me." Hard and I nodded, turned, as the tears flow like rough.
Sister-in-law, you are only 26 years old ah! Sister-in-law to marry just think of Big Brother, is so young, smooth face Bailitouhong, roll up a jet-black hair, just like on TV, on the calendar star. I ran into the house, lay on the table despite their tears Pusu Su in straight sets. Ku Wan, I tried to read books to solve problems, I told myself, if not for themselves but also for the sister-in-law to study hard.
I am in the county's top liberal arts achievements of the North admitted to a prestigious university. Received notice of the taking of the day, sister-in-law bought a big roll of firecrackers, a long slide shop on the ground, like the red fire dragon. A sister-in-law lit incense and handed it to me, "obviously, you point to whip!" I took Shannon, as sister-in-law took all the expectations and wishes. Pi Bala miles of the sound of firecrackers led to a four-o-eight rural people. On that day, the sister-in-law Dieniang have to have a younger brother, stood in the crowd. Sister-in-law saw them and went, head in her mother's shoulder, tears. In the evening, five people around a dinner table. She patted my brother on the shoulder, "Kang, do you really study hard." One by one my sister-in-law of King's family, sincerely thank them for giving me a good sister-in-law. Finally, the King is the sister-in-law, she stood up, smiled and said, "obviously, family, I do not want to polite!" The university of life and learning much easier than in high school, every year I have to get good results in schools The grants. In addition, there are many after-school time to work, work-study program,
___________________________
from:[url=http://www.fast-wowgold.com]ffxi gil[/url]
[url=http://ledtech-shop.de/index.php?refID=0086001&cat=c8_LED-Spots.html/]led light[/url]
[url=http://ledtech-shop.de/index.php?cat=c57_LED-Leisten---Module---Strips.html/]led 12v warmweiss[/url]
[url=http://www.lvhang.net/]国际机票[/url]
[url=http://www.fcsgame.com/]world of warcraft gold[/url]

baow1ty 2008-10-23 03:29

富士通FOMA F1100提供横跨企业的无

富士通FOMA F1100提[url=http://www.net-bridge.com.cn][b]cisco防火墙[/b][/url]供横跨企业的无缝和安全Wi-Fi通入与Devicescape手机的容易的Wi-Fi
NTT DoCoMo FOMA F1100顾客能现在享受安全VoIP和与主导产业的技术的被扩展的Wi-Fi服务范围

Last更[url=http://www.net-bridge.com.cn][b]cisco交换机[/b][/url]新: 7:47上午EDT 2008年10月20日
SAN布鲁诺,加州, 2008年10月20日(市场导线通过COMTEX) -- Devicescape软件,在容易的Wi-Fi的领导,今天宣布它的Devicescape手机市场具体解答的容易的Wi-Fi使富士通提供企业水平安全和在富士通F1100 Smartphone中访问。 NTT分布富士通F1100 DoCoMo,一名主导的日本电信操作员,作为一个流动多媒体[url=http://www.net-bridge.com.cn][b]cisco模块[/b][/url]通入(FOMA)设备瞄准的企业市场最新的自由。 F1100 Smartphone可能功能作为常规移动电话通过WCDMA网络和作为VoIP排字使用802.11a/b/g Wi-Fi网络。
Fujitsu,已知为它的创新产品,首先发布了F1100在2008年3月给产业赞叹。 通过集成Devicescape手机的容易的Wi-Fi到这个下一代产品里,富士通和NTT DoCoMo有建立使能公司顾客的无缝的通入并且能力扩展他们的市场包括所[url=http://www.net-bridge.com.cn][b]cisco维修[/b][/url]有企业顾客操作Cisco基础设施的安全,无缝的Wi-Fi联系的一个全面特性集合。 除扩展他们的市场伸手可及的距离之外,增加Devicescape改进他们的顾客的经验并且维护净减少的公司安全对支持费用和整体被改进的赢利。
"作为领导在创新,富士通总是提供我们的顾客以最佳的技术可利用的, “说富士通移动电话单位的Naoyuki Inoue,主任。 “Devicescape的软件在一个公司环境里维护最高的安全水平,保证我们的顾客共同资产的光滑的用[url=http://www.net-bridge.com.cn][b]3com交换机[/b][/url]户经验和保护

qrst695 2008-10-24 21:56

主要的产品有:雷蒙磨、强压磨、超细磨粉机

本公司集科研、生产、销售为一体,是专业生产日处理50-2000吨成套[url=http://www.64356666.com][b]免烧砖机[/b][/url] 及系列自动、多功能免烧砖砌块成型机等大型设备的厂家,技术力量雄厚,工艺设备精良,特别是在借鉴国内外墙体材料生产机械的基础上,自主研制的大、中、小型全自动化多功能免烧砖机,克服了老式[url=http://www.64356666.com][b]制砖机[/b][/url] 产品功能单一、效率低下、性能不稳等诸多弊端。公司检测手段齐全、产品质量可靠,服务设施完善,产品畅销全国各地,深受用户信赖。
    以科技为先[url=http://www.64356666.com][b]压砖机[/b][/url] 导,以质量求生存,以信誉谋发展是国泰机械公司的企业宗旨,一切从用户利益出发,用户的需求就是我们追求的最高 目标,本公司以一流的产品、优质的售后服务,竭诚为中外客商提供一切方便!
    本公司成套产[url=http://www.64356666.com][b]打砖机[/b][/url]品:免烧砖生产线,砂石生产线,选矿生产线
    主要的产品有:雷蒙磨、强压磨、超细磨粉机、风选粉碎机、水冷木粉机、节能型球磨机、 烘干机。 磁选机、 浮选机 、[url=http://www.64356666.com][b]砖机[/b][/url] 分级机、 振动筛、颚式、锤式、反击式、圆锥式、自击式破碎机、输送机、石料生产线、免烧砖机、煤球机、木头切片机、水泥砌块成型机、马路花砖机、多功能制砖机械、制砂机

huanqiu030 2008-11-15 10:38

不关我的事,我是逗大家开心的,可怕的蛀洞

阿妹:“几天不见你怎么瘦了那么多?”

阿呆:“长了蛀牙,吃下的东西只有一半在在肚子里。”

阿妹:“为什么,还有一半呢?”

阿呆:“还有一半在蛀洞里。”
















[url=http://www.hqzg.net/qiumoji.htm]球磨机[/url]  [url=http://www.hqzg.net/eshiposuiji.htm]颚式破碎机[/url]  [url=http://www.hqzg.net/xishiji.htm]洗砂机价格[/url] [url=http://www.hqzg.net/meimoji.htm]煤磨机[/url] [url=http://www.hqzg.net/gaoyaweifenmo.htm]高压磨[/url]

qrst695 2008-11-16 06:14

美国笔记本出货量首次超过台式机

北京,2008年11月6日--2008年第三季度美国市场的[url=http://www.macx.cn]苹果笔记本[/url]
出货量所占市场份额超过了50%,在电脑行业史上首次超过了台式机的季度出货量。根据IDC美国PC市场季度跟踪报告的初步统计数字,2008年第三季度在美国销售的笔记本电脑份额占到了55.2%。

IDC的初步数据显示,[url=http://www.kingdeebj.com]金蝶北京分公司[/url]的市场份额之所以能超过55%,主要是因为第三季度的笔记本出货量创了新高??超过950万台,同比和环比增幅均超过18%。第三季度实现如此不俗的业绩,主要由于是学校开学季节,虽然金融危机已初现端倪,成了媒体关注的焦点,但对PC市场[url=http://www.lt-pp.cn]FRPP管[/url]的业绩并未立即产生负面影响。

几乎所有主要销售笔记本和台式机的厂商在第三季度的笔记本出货量均超过了台式机。包括东芝在内的一些厂商长期以[url=http://www.kingdeebj.com]北京金蝶[/url]来一直专注于笔记本市场,而索尼、宏?、联想等其他一些厂商的笔记本出货比例也超过了其PC出货量的65%。由于看到了“一户多电脑”基数扩大带来的机会,华硕和三星等新的主攻笔记本市场的厂商正在杀入美国市场。随着中级厂商数量的扩大,知名品牌之间的竞争很可能进[url=http://www.kingdeebj.com]用友北京分公司[/url]一步加剧,他们可能会通过降价来刺激需求,以保持正值增长。

nopq561 2008-11-18 00:05

宝吉牌对焊机

宝吉牌对焊机:可调电流直接对焊8.5MM以下钢筋铁丝。价格:1800元/台。功率:380V1.5KW。设备实行三包,免费提供有关技术,免费培训直达客户能单独操作和维护维修。先学后交钱,学会了再购买。长期成本价供应所有另配件,免费技术升级和咨询。免费代办运输,运输过程中损坏或丢失由宝吉负责。宝吉厂及宝吉牌产品荣获2004年《中国质量万里行》"诚信·维权"重点保护品牌(单位),荣获2004年中国科学研究院名牌与市场战略专家委员会"质量服务信誉AAA级企业"。专业废变宝,只会做最好。宝吉牌废变宝专用机械设备系独家设计精工制造,竭力为老百姓创造和制造能挣钱的机遇和机器。经营宗旨:信誉至高无上,质量精益求精,服务无微不至,创新永无止境。宝吉产品及服务,必系最佳。宝吉机械设备厂徽标和宝吉牌商标已注册,敬请认准宝吉牌,假冒必纠!实施ISO9000质量管理体系,对所有2006年5月1日后销售的宝吉牌各类机械设备郑重承诺:三包期内有问题就换新的。市场部电话:0374-6315817,手机:013703744588。详细了解宝吉机械设备最新图片及说明敬请联系:E-mail:fbbcyyxgs@126.com。QQ:188452374

petadev9 2008-11-27 15:18

淘宝商城七匹狼皮具特卖

本店专营七匹狼皮具系列,商城信誉保证,假一罚十
**********************************************
[size=7][color=red][b][i]七匹狼皮具[/i]年底大促销[/b][/color][/size]:
[size=6][color=seagreen][u]满150送七匹狼男袜!满200包邮!!![/u][/color][/size]
*********************************************
本店网址:[url=http://www.99lg.com/][color=red]www.99lg.com[/color][/url]  
联系方式:QQ:391034030  
七匹狼经典款:
1、[size=4][color=lime]畅销140件[/color][/size]经典男士钱包 ,原价117元,[size=6]特价[color=red]53元[/color]![/size]
[url=http://shop.mall.taobao.com/item-602031.htm][img]http://img02.mall.taobaocdn.com/malli/product/i2/041/1a0/T1kMdcXmxawZBXXXXX.jpg_160x160.jpg[/img][/url]
2、【[size=5][color=blue]鹿皮[/color][/size]】七匹狼经典款 男士钱包 ,[size=7][color=red]仅售99元![/color][/size]畅销经典款,轻薄,手感好!
[url=http://shop.mall.taobao.com/item-598409.htm][img]http://img03.mall.taobaocdn.com/malli/product/i3/501/421/T1UuFcXjBtvsBXXXXX.jpg_160x160.jpg[/img][/url]

abcd920 2008-11-28 05:44

加速度

5月8日电“怎么会这样!”5月4日晚,被场桥边防派出所抓获的安徽籍逃犯傅某傻了眼。他无法想像,与自己短信联系多时的女孩竟是一位胡子拉渣的民警,更出乎他意料的是,该民警竟是为了他数月前犯的案子而来。
[url=http://www.pojiejidi88.com/sxlhj.htm]绍兴老虎/机干扰器/绍兴老虎/机遥控器/绍兴老虎/机定位器/绍兴老虎/机上分器/绍兴老虎/机解码器
[/url]
    今年1月27日晚,在瑞安打工近2年的傅某和几个朋友一起在场桥一家台球店里玩。旁边有家台球店里摆放着供人赌博的“游戏机”。这时,一朋友说自己以前玩“游戏机”被坑了好几百块钱,提出要去抢劫游戏机,并保证不会有事,理由一是这些“游戏机”是违法的,被抢了老板也不敢报警;理由二是反正第二天就回老家过年去了,抢了就溜回去躲一段时间,警察肯定抓不到。
[url=http://www.pojiejidi88.com/sxbcbm.htm]绍兴老虎/机破/解器/绍兴奔驰宝马定位器/绍兴奔驰宝马上分器/绍兴奔驰宝马干扰器/绍兴奔驰宝马遥控器[/url]

    这个提议得到了傅某等人的一致赞同。于是,众人威胁老板,强行端走了店里的两台游戏机。得手后,众人当晚就瓜分了“战利品”,第二天便各自溜回了老家。此案一嫌疑人刘某以为这件“小事”早已被人淡忘,不料3个多月后若无其事地出现在场桥街头时,被追查已久的民警抓获。
[url=http://www.pojiejidi88.com/jsbcbm.htm]江苏老虎/机破/解器/江苏奔驰宝马定位器/江苏奔驰宝马上分器/江苏奔驰宝马干扰器/江苏奔驰宝马遥控器[/url]
    场桥边防派出所民警从刘某那里获知此案另一嫌疑人傅某的手机号码后,便以一名刚来瑞安务工的女孩的语气给傅某发了一条短信,没想到鱼儿很快就上钩了。你来我往,傅某很快就与“女孩”打得火热,并主动邀请“女孩”出来玩。5月4日晚,傅某与“女孩”约定在一家网吧门口见面,谁知“女孩”没见着,倒引来了几个大男人将其迅速制服。  
[url=http://www.pojiejidi88.com/njlhj.htm]南京老虎/机上分器/南京老虎/机干扰器/南京老虎/机遥控器/南京老虎/机定位器/南京老虎/机破/解器
[/url]

  被带到派出所后的傅某仍不忘那个令他神魂颠倒的“女孩”,不死心地向民警问明情况,办案民警微微一笑说:“那个女孩就是我。”

[url=http://www.pojiejidi88.com/njbcbm.htm]南京老虎/机破/解器/南京奔驰宝马定位器/南京奔驰宝马上分器/南京奔驰宝马干扰器/南京奔驰宝马遥控器[/url]
页: [1]
查看完整版本: RE.ER新手学堂:关于Linux操作系统日志的介绍