判斷操作系統狀態的好壞

Ubuntu各种衍生版本
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

判斷操作系統狀態的好壞

#1

帖子 寺島聰子 » 2017-02-12 22:02

一年間使いつづけたMint17.2。半年ほど前に dwb browser をインストールして、時々使いました。これまで、異常な挙動をしたことは一回もない。
Mint 17.2 continued to use for one year. About six months ago I installed dwb browser and used it occasionally. Until now, I have never experienced abnormal behavior.
https://portix.bitbucket.io/dwb/?
https://wiki.archlinux.org/index.php/dwb
さっき、操作中に誤って 変なキーを押してしまったら、dwb が異常終了し、再度起動させようとしても、「一瞬 何かが見えて、すぐ消える」
Synapticで完全削除指定>再インストール>改善しない
As earlier, if you accidentally pressed a strange key during the operation, dwb ended abnormally and even if you tried to start it again, "something appears for a moment and disappears"
Specify complete deletion with Synaptic> Reinstall> Not improve

Windowsで、イベントビューアを見れば、少しヒントになることが、記録されていたりしますが、ubuntuやMintでは、OS の状態の善悪を、判断するヒントは、どこを見るのでしょうか?
In Windows, if you look at the event viewer, it is recorded that it becomes a little hint, but in ubuntu or Mint, where do you see hints to judge good and bad of OS state?
onlylove
论坛版主
帖子: 5214
注册时间: 2007-01-14 16:23

Re: 判斷操作系統狀態的好壞

#2

帖子 onlylove » 2017-02-12 22:35

the event viewer just tell you what has happened

this will work for a system use systemd
in a terminal input

代码: 全选

sudo journalctl
for more usage type

代码: 全选

 man journalctl
if there is /var/log/message and /var/log/syslog exist,these files also stores system log,
anyway,these logs only tell you what has happened
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: 判斷操作系統狀態的好壞

#3

帖子 vickycq » 2017-02-12 22:37

寺島聰子 写了:OS の状態の善悪を、判断するヒントは、どこを見るのでしょうか?
一年間使いつづけた。Mint17.2
Mint 17.2 uses an Ubuntu 14.04 package base.
Before starting dwb, open a terminal window and execute

代码: 全选

sudo tail -f /var/log/syslog
to monitor system main event log in real time.
Then start dwb in another terminal to catch any exception it may throw out.
寺島聰子 写了:「一瞬 何かが見えて、すぐ消える」
Synapticで完全削除指定>再インストール>改善しない
Try deleting dwb's user config dir located at ~/.config/dwb
Make sure to backup stuff such as bookmarks or history.

代码: 全选

mv ~/.config/dwb ~/.config/dwb-orig
sudo apt-get update
sudo apt-get purge dwb
sudo apt-get install dwb
Note that the package 'dwb' has been removed in recent releases of debian and ubuntu/mint, probably because its development has been stalled for a long time and it deemed too unstable to be accepted.

See also:
https://bugs.launchpad.net/ubuntu/+sour ... ug/1550493
https://bugs.debian.org/cgi-bin/bugrepo ... bug=820351
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: 判斷操作系統狀態的好壞

#4

帖子 寺島聰子 » 2017-02-13 6:57

您好
~ $ sudo journalctl
[sudo] password for m:
sudo: journalctl: command not found
~ $
https://forums.linuxmint.com/viewtopic.php?t=223066
>Linux Mint 18 uses systemd's system logging service called the journal. Previous versions of Linux Mint used rsyslog.
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: 判斷操作系統狀態的好壞

#5

帖子 寺島聰子 » 2017-02-13 10:22

ubuntu mate 16.04

jin@1:~$ sudo journalctl
[sudo] password for jin:
-- Logs begin at 月 2017-02-13 11:19:35 JST, end at 月 2017-02-13
2月 13 11:19:35 1 systemd-journald[213]: Runtime journal (/run/l
2月 13 11:19:35 1 kernel: Initializing cgroup subsys cpuset
2月 13 11:19:35 1 kernel: Initializing cgroup subsys cpu
2月 13 11:19:35 1 kernel: Initializing cgroup subsys cpuacct
2月 13 11:19:35 1 kernel: Linux version 4.4.0-62-generic (buildd
2月 13 11:19:35 1 kernel: Command line: BOOT_IMAGE=/boot/vmlinuz
2月 13 11:19:35 1 kernel: KERNEL supported cpus:
2月 13 11:19:35 1 kernel: Intel GenuineIntel
2月 13 11:19:35 1 kernel: AMD AuthenticAMD
2月 13 11:19:35 1 kernel: Centaur CentaurHauls
2月 13 11:19:35 1 kernel: x86/fpu: Legacy x87 FPU detected.
2月 13 11:19:35 1 kernel: x86/fpu: Using 'lazy' FPU context swit
2月 13 11:19:35 1 kernel: e820: BIOS-provided physical RAM map:
2月 13 11:19:35 1 kernel: BIOS-e820: [mem 0x0000000000000000-0x0
2月 13 11:19:35 1 kernel: BIOS-e820: [mem 0x000000000009fc00-0x0
2月 13 11:19:35 1 kernel: BIOS-e820: [mem 0x00000000000e4000-0x0
2月 13 11:19:35 1 kernel: BIOS-e820: [mem 0x0000000000100000-0x0
2月 13 11:19:35 1 kernel: BIOS-e820: [mem 0x000000007ffb0000-0x0
2月 13 11:19:35 1 kernel: BIOS-e820: [mem 0x000000007ffbe000-0x0
2月 13 11:19:35 1 kernel: BIOS-e820: [mem 0x000000007fff0000-0x0
2月 13 11:19:35 1 kernel: BIOS-e820: [mem 0x00000000fee00000-0x0
2月 13 11:19:35 1 kernel: BIOS-e820: [mem 0x00000000fff00000-0x0
lines 1-23...skipping...
-- Logs begin at 月 2017-02-13 11:19:35 JST, end at 月 2017-02-13
2月 13 11:19:35 1 systemd-journald[213]: Runtime journal (/run/l
2月 13 11:19:35 1 kernel: Initializing cgroup subsys cpuset
2月 13 11:19:35 1 kernel: Initializing cgroup subsys cpu
2月 13 11:19:35 1 kernel: Initializing cgroup subsys cpuacct
2月 13 11:19:35 1 kernel: Linux version 4.4.0-62-generic (buildd
2月 13 11:19:35 1 kernel: Command line: BOOT_IMAGE=/boot/vmlinuz
2月 13 11:19:35 1 kernel: KERNEL supported cpus:
2月 13 11:19:35 1 kernel: Intel GenuineIntel
2月 13 11:19:35 1 kernel: AMD AuthenticAMD
2月 13 11:19:35 1 kernel: Centaur CentaurHauls
2月 13 11:19:35 1 kernel: x86/fpu: Legacy x87 FPU detected.
2月 13 11:19:35 1 kernel: x86/fpu: Using 'lazy' FPU context swit
2月 13 11:19:35 1 kernel: e820: BIOS-provided physical RAM map:
2月 13 11:19:35 1 kernel: BIOS-e820: [mem 0x0000000000000000-0x0
2月 13 11:19:35 1 kernel: BIOS-e820: [mem 0x000000000009fc00-0x0
2月 13 11:19:35 1 kernel: BIOS-e820: [mem 0x00000000000e4000-0x0
2月 13 11:19:35 1 kernel: BIOS-e820: [mem 0x0000000000100000-0x0
2月 13 11:19:35 1 kernel: BIOS-e820: [mem 0x000000007ffb0000-0x0
2月 13 11:19:35 1 kernel: BIOS-e820: [mem 0x000000007ffbe000-0x0
2月 13 11:19:35 1 kernel: BIOS-e820: [mem 0x000000007fff0000-0x0
2月 13 11:19:35 1 kernel: BIOS-e820: [mem 0x00000000fee00000-0x0
2月 13 11:19:35 1 kernel: BIOS-e820: [mem 0x00000000fff00000-0x0
2月 13 11:19:35 1 kernel: NX (Execute Disable) protection: activ
2月 13 11:19:35 1 kernel: SMBIOS 2.5 present.
2月 13 11:19:35 1 kernel: DMI: SOTEC CO., LTD. SOTECDT/P5K31-VM,
2月 13 11:19:35 1 kernel: e820: update [mem 0x00000000-0x00000ff
2月 13 11:19:35 1 kernel: e820: remove [mem 0x000a0000-0x000ffff
2月 13 11:19:35 1 kernel: e820: last_pfn = 0x7ffb0 max_arch_pfn
2月 13 11:19:35 1 kernel: MTRR default type: uncachable
2月 13 11:19:35 1 kernel: MTRR fixed ranges enabled:
2月 13 11:19:35 1 kernel: 00000-9FFFF write-back
2月 13 11:19:35 1 kernel: A0000-BFFFF uncachable
2月 13 11:19:35 1 kernel: C0000-CFFFF write-protect
2月 13 11:19:35 1 kernel: D0000-DFFFF uncachable
2月 13 11:19:35 1 kernel: E0000-EFFFF write-through
2月 13 11:19:35 1 kernel: F0000-FFFFF write-protect
2月 13 11:19:35 1 kernel: MTRR variable ranges enabled:
2月 13 11:19:35 1 kernel: 0 base 000000000 mask F80000000 writ
2月 13 11:19:35 1 kernel: 1 disabled
2月 13 11:19:35 1 kernel: 2 disabled
2月 13 11:19:35 1 kernel: 3 disabled
2月 13 11:19:35 1 kernel: 4 disabled
2月 13 11:19:35 1 kernel: 5 disabled
2月 13 11:19:35 1 kernel: 6 disabled
2月 13 11:19:35 1 kernel: 7 disabled
2月 13 11:19:35 1 kernel: x86/PAT: Configuration [0-7]: WB WC
2月 13 11:19:35 1 kernel: found SMP MP-table at [mem 0x000ff780-
2月 13 11:19:35 1 kernel: Scanning 1 areas for low memory corrup
2月 13 11:19:35 1 kernel: Base memory trampoline at [ffff8800000
lines 1-50
jin@1:~$
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 判斷操作系統狀態的好壞

#6

帖子 poloshiao » 2017-02-13 10:40

About six months ago I installed dwb browser and used it occasionally. Until now, I have never experienced abnormal behavior.
https://portix.bitbucket.io/dwb/?
https://wiki.archlinux.org/index.php/dwb
1. http://packages.linuxmint.com/
Search package directories:
Release: Any
Section: Any
Keyword: dwb
Search Result: No
1-1. It means that dwb was not included in the official repositries of Linux Mint.

2. Suggest For new user :
You had better use the software packaged in the system you are just operating now for the purpose of better support.
头像
wojiaowwj
帖子: 662
注册时间: 2011-03-18 0:22
系统: Chakra Linux
来自: 上海

Re: 判斷操作系統狀態的好壞

#7

帖子 wojiaowwj » 2017-02-13 10:45

使用了一年mint17,.2,半年前安装了dwb browser,经常使用,在此之前无异常。
刚才失误按了一个奇怪的按钮,dwb browser异常关闭。试图再度启动,启动的瞬间看到闪出的窗口,然后立刻消失了。
Synaptic里完全删除>再安装>无改善
Windows里面、搜查操作日志、能得到些提示、会记录一些东西。ubuntu和的OS的状態的善悪,判断的提示,可以在哪里找到呢?

大体の意味は以上です。
看英文不擅长。。。中文如上。
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: 判斷操作系統狀態的好壞

#8

帖子 寺島聰子 » 2017-02-13 18:11

既にdwb は削除してあったのだが、作業前に もう一度インストールした。
I already deleted dwb, but I installed it again before work.
英文
to catch any exception it may throw out.
この部分が理解できません
I can not understand this part

代码: 全选

rom WebKit, this function does nothing.
略
** (dwb:5624): WARNING **: webkit_dom_node_has_attributes: this functionality has been removed from WebKit, this function does nothing.

** (dwb:5624): WARNING **: webkit_dom_node_has_attributes: this functionality has been removed from WebKit, this function does nothing.

(dwb:5624): GLib-GObject-CRITICAL **: g_object_ref: assertion 'object->ref_count > 0' failed

(dwb:5624): GLib-GObject-CRITICAL **: g_object_unref: assertion 'object->ref_count > 0' failed

** (dwb:5624): WARNING **: webkit_dom_node_has_attributes: this functionality has been removed from WebKit, this function does nothing.
略
m@m ~ $ dwb %u
dwb を起動したとき、今回は、前回の症状はなく、正常起動しているように見える。
When dwb is started, this time there seems to be a normal start without the previous symptoms.
附件
Screenshot.png
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: 判斷操作系統狀態的好壞

#9

帖子 寺島聰子 » 2017-02-13 19:27

wojiaowwj 様

中文への翻訳、ありがとうございました。中国語も学んでまいります
Thank you for your translation into Chinese sentences. I will also learn Chinese
谢谢你翻译成中文句子。 我也会学中文
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: 判斷操作系統狀態的好壞

#10

帖子 寺島聰子 » 2017-02-13 20:04

1-1. It means that dwb was not included in the official repositries of Linux Mint.
2. Suggest For new user :
You had better use the software packaged in the system you are just operating now for the purpose of better support.
最初、言われている意味が理解できませんでした。Synapticに存在してるのに
なぜだろう?と。
At first, I could not understand the meaning being said. Why is it present in Synaptic?
https://www.howtoinstall.co/en/ubuntu/trusty/dwb

代码: 全选

sudo apt-get update
sudo apt-get install dwb
私は、このコマンドを打って、インストールしたのですね?記憶に無いのですが。
I installed this by typing this command? I do not have it in memory.
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 判斷操作系統狀態的好壞

#11

帖子 poloshiao » 2017-02-13 21:08

https://www.howtoinstall.co/en/ubuntu/trusty/dwb
How to install dwb on Ubuntu 14.04 (Trusty Tahr)
1. http://packages.ubuntu.com/search?suite ... chon=names
套件 dwb
trusty (14.04LTS) (web): lightweight WebKit browser [universe]
20130503hg-2ubuntu1: amd64 arm64 armhf i386 powerpc ppc64el
1-1. Only in Ubuntu 14.04 But not in Ubuntu 16.04 or other release.

2. viewtopic.php?p=3185510#p3185510
http://packages.linuxmint.com/
related to linux mint.
2-1. viewtopic.php?p=3185489#p3185489
一年間使いつづけたMint17.2。半年ほど前に dwb browser
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: 判斷操作系統狀態的好壞

#12

帖子 寺島聰子 » 2017-02-13 23:50

代码: 全选

mv ~/.config/dwb ~/.config/dwb-orig
mv - move (rename) files

代码: 全选

apt-get update
Run this command after changing /etc/apt/sources.list or /etc/apt/preferences . Run this command periodically to make sure your source list is up-to-date. This is the equivalent of "Reload" in Synaptic

代码: 全选

apt-get purge <package_name>
This command completely removes a package and the associated configuration files.
Note that the package 'dwb' has been removed in recent releases of debian and ubuntu/mint, probably because its development has been stalled for a long time and it deemed too unstable to be accepted.
See also:
https://bugs.launchpad.net/ubuntu/+sour ... ug/1550493
https://bugs.debian.org/cgi-bin/bugrepo ... bug=820351
>dwb is a web browser without active upstream. Since nobody answered to #811405,
I'd rather have dwb removed from the archive than keep a unsupported browser. So
please remove dwb from unstable.

大変参考になりました。ご指導ありがとうございました。完全動作は期待せず、クラッシュしても「こういうものなんだ」と思い、一種の諦観をもって 使っていきます。
「Keyboard のみの操作」という自分にとって楽しく、かつ稀有の機能ゆえに、完全に手放すことは できませんが。。。
It was very helpful. Thank you for instraction. I do not expect complete operation, even though I crash, I think that it is "such thing", I will use it with a kind of resignation.
Although I can not let go of it completely, due to the fun and rare functions of myself "Keyboard only operation". . .
头像
wojiaowwj
帖子: 662
注册时间: 2011-03-18 0:22
系统: Chakra Linux
来自: 上海

Re: 判斷操作系統狀態的好壞

#13

帖子 wojiaowwj » 2017-02-14 8:18

寺島聰子 写了:wojiaowwj 様

中文への翻訳、ありがとうございました。中国語も学んでまいります
Thank you for your translation into Chinese sentences. I will also learn Chinese
谢谢你翻译成中文句子。 我也会学中文
大したことないよ~
头像
wojiaowwj
帖子: 662
注册时间: 2011-03-18 0:22
系统: Chakra Linux
来自: 上海

Re: 判斷操作系統狀態的好壞

#14

帖子 wojiaowwj » 2017-02-14 8:24

寺島聰子 写了:既にdwb は削除してあったのだが、作業前に もう一度インストールした。
I already deleted dwb, but I installed it again before work.
英文
to catch any exception it may throw out.
この部分が理解できません
I can not understand this part

代码: 全选

rom WebKit, this function does nothing.
略
** (dwb:5624): WARNING **: webkit_dom_node_has_attributes: this functionality has been removed from WebKit, this function does nothing.

** (dwb:5624): WARNING **: webkit_dom_node_has_attributes: this functionality has been removed from WebKit, this function does nothing.

(dwb:5624): GLib-GObject-CRITICAL **: g_object_ref: assertion 'object->ref_count > 0' failed

(dwb:5624): GLib-GObject-CRITICAL **: g_object_unref: assertion 'object->ref_count > 0' failed

** (dwb:5624): WARNING **: webkit_dom_node_has_attributes: this functionality has been removed from WebKit, this function does nothing.
略
m@m ~ $ dwb %u
dwb を起動したとき、今回は、前回の症状はなく、正常起動しているように見える。
When dwb is started, this time there seems to be a normal start without the previous symptoms.
已经删除了dwb,在安装之前又确认了一次。


这个部分不能理解。

dwb启动的时候,这回没有上次的问题了,能正常启动了。

このBBSで文字を引用することが面倒くさいから、ただ順番で中国語に通訳させてもらいたいと思います。コードを省略します。
上次由 wojiaowwj 在 2017-02-14 8:31,总共编辑 2 次。
头像
wojiaowwj
帖子: 662
注册时间: 2011-03-18 0:22
系统: Chakra Linux
来自: 上海

Re: 判斷操作系統狀態的好壞

#15

帖子 wojiaowwj » 2017-02-14 8:29

寺島聰子 写了:
1-1. It means that dwb was not included in the official repositries of Linux Mint.
2. Suggest For new user :
You had better use the software packaged in the system you are just operating now for the purpose of better support.
最初、言われている意味が理解できませんでした。Synapticに存在してるのに
なぜだろう?と。
At first, I could not understand the meaning being said. Why is it present in Synaptic?
https://www.howtoinstall.co/en/ubuntu/trusty/dwb

代码: 全选

sudo apt-get update
sudo apt-get install dwb
私は、このコマンドを打って、インストールしたのですね?記憶に無いのですが。
I installed this by typing this command? I do not have it in memory.
一开始,对您说的意思不太理解,明明已经在Synaptic中存在了。
我是不是输入这个命令安装了这些?不记得了。
回复