磁盘使用率分析器也停止

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

磁盘使用率分析器也停止

#1

帖子 寺島聰子 » 2017-02-05 23:06

参照
http://qiita.com/yahihi/items/351018be17585f28926b

代码: 全选

~ $ df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            986M  4.0K  986M   1% /dev
tmpfs           201M  1.4M  199M   1% /run
/dev/sda1        35G   19G   15G  56% /
none            4.0K     0  4.0K   0% /sys/fs/cgroup
none            5.0M     0  5.0M   0% /run/lock
none           1001M  300K 1001M   1% /run/shm
none            100M   40K  100M   1% /run/user
 ~ $ sudo du -sh /*
[sudo] password for m:
9.7M    /bin
48M    /boot
4.0K    /cdrom
4.0K    /dev
32M    /etc
The above part is displayed and it does not proceed. The access lamp of the hard disk remains lit. It seems to stop responding.
顯示上面的部分,它不繼續。 硬盤的訪問指示燈保持點亮。 它似乎停止響應。

Likewise, the Disk Usage Analyzer also stops responding.
同样,磁盘使用率分析器也停止响应。
附件
Screenshot-ディスク使用量の解析.png
Screenshot-Marco.png
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 磁盘使用率分析器也停止

#2

帖子 poloshiao » 2017-02-06 5:13

Likewise, the Disk Usage Analyzer also stops responding.
同样,磁盘使用率分析器也停止响应。
1. If unity session
1-1. Copy the following command and paste it into the terminal
gksudo baobab
1-2. Exucute it

2. else session
2-1. press alt + f2
2-2. Copy the following command and paste it into the command line
gksudo baobab
2-3. Exucute it

3. Can it finish the full analyzing job ?
The above part is displayed and it does not proceed. The access lamp of the hard disk remains lit. It seems to stop responding.
顯示上面的部分,它不繼續。 硬盤的訪問指示燈保持點亮。 它似乎停止響應。
4. Maybe the analyzing job is still going on.
Just wait for a reasonable period of time.
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: 磁盘使用率分析器也停止

#3

帖子 寺島聰子 » 2017-02-06 9:35

謝謝
2. else session
The term "Session" is presumed to be a desktop environment
術語“Session”被假定為是桌面環境
我的環境是Mint17.2mate64位
2-1. press alt + f2
2-2. Copy the following command and paste it into the command line
gksudo baobab
2-3. Exucute it
gksudo mate-disk-usage-analyzer
3. Can it finish the full analyzing job ?
yes, i can
4. Maybe the analyzing job is still going on.
Just wait for a reasonable period of time.
お騒がせして ごめんなさい
惹麻烦,对不起
今までは 5分ほど待って「異常である」と感じて、強制終了していた。
Until now I waited for about five minutes and felt "abnormal", I was forced to quit.
直到現在我等了大約五分鐘,感覺“異常”,我被迫退出。
15分待ったら、the analyzing job は正常終了しました。
附件
Screenshot-ディスク使用量の解析.png
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 磁盘使用率分析器也停止

#4

帖子 poloshiao » 2017-02-06 10:25

mate-disk-usage-analyzer
1. https://apps.ubuntu.com/cat/applications/saucy/baobab/
Disk Usage Analyzer is a graphical, menu-driven application to analyse disk usage in a GNOME environment. It can easily scan either the whole filesystem tree, or a specific user-requested directory branch (local or remote).
1-1. mate-disk-usage-analyzer is also from baobab.
1-2. It scans filesystem or directory
sudo du -sh /*
2. http://manpages.ubuntu.com/manpages/zes ... /du.1.html
Summarize disk usage of the set of FILEs, recursively for directories.

3. http://manpages.ubuntu.com/manpages/xen ... sck.8.html
fsck - check and repair a Linux filesystem
fsck is used to check and optionally repair one or more Linux filesystems.
3-1. fsck is the default check and repair tool of filesystems (include directories)for Ubuntu.
3-2. http://manpages.ubuntu.com/manpages/xen ... tab.5.html
fstab - static information about the filesystems
3-2-1. The sixth field (fs_passno) in those lines which mount every filesystem in /etc/fstab decides the fsck behavior when your pc boots.
The sixth field (fs_passno).
This field is used by fsck(8) to determine the order in which filesystem checks are done at boot time. The root filesystem should be specified with a fs_passno of 1. Other filesystems should have a fs_passno of 2. Filesystems within a drive will be checked sequentially, but filesystems on different drives will be checked at the same time to utilize parallelism available in the hardware. Defaults to zero (don't fsck) if not present.
3-2-2. It will run the fsck command at next reboot every time when your PC encountered an abnormal shutdown.
3-3. You may also execute the fsck command manually anytime you want.
3-4. The read / write / scan efficiency may become better everytime after your PC was run with fsck command.
The term "Session" is presumed to be a desktop environment
術語“Session”被假定為是桌面環境
我的環境是Mint17.2mate64位
4. Session means XSession
4-1. https://wiki.ubuntu.com/CustomXSession
CustomXSession
knowing how to create X session scripts can grant you greater flexibility in customizing your desktop environment whether you use GNOME, KDE, XFCE, Openbox or other lesser-known window managers like Blackbox or FVWM.
4-2. https://en.wikipedia.org/wiki/X_display ... gram_type)
In the X Window System, an X display manager is a graphical login manager which starts a session on an X server from the same or another computer.
4-3. Lightdm is the default X display manager in Ubuntu
4-3-1. https://en.wikipedia.org/wiki/LightDM
LightDM
4-3-2. https://wiki.ubuntu.com/CustomXSession# ... figuration
LightDM configuration
4-4. MDM is the default X display manager in Ubuntu Mate
4-4-1. https://github.com/linuxmint/mdm
MDM Display Manager
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: 磁盘使用率分析器也停止

#5

帖子 寺島聰子 » 2017-02-06 20:31

fsck - check and repair a Linux filesystem
fsck is used to check and optionally repair one or more Linux filesystems.
3-1. fsck is the default check and repair tool of filesystems (include directories)for Ubuntu.
fstab - static information about the filesystems
3-2-1. The sixth field (fs_passno) in those lines which mount every filesystem in /etc/fstab decides the fsck behavior when your pc boots.
谢谢回答。
現在の構成
sda1 はMint、sda6 はubuntu
しかし、私がsda1の Mint の /etc/fstab を開くと
Current configuration
Sda 1 is Mint, sda 6 is ubuntu
However, when I open Mint's / etc / fstab

代码: 全选

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>

#Entry for /dev/sda1 :
UUID=3fb1c77c-7d46-4243-a955-790755e6023b    /    ext4    errors=remount-ro    0    1
#Entry for /dev/sda3 :
#UUID=23459634-134b-4811-a9de-b5ed98ac288e    /media/kali_sda3    ext4    defaults    0    0
#Entry for /dev/sda4 :
#UUID=80e8ec12-01f4-4f65-97d8-5909ab7468f4    /media/kali_sda4    ext4    defaults    0    0
UUID=b27697f1-613f-485f-be6e-e1e5b65f1b14    none    swap    sw    0    0

The Entry when the previous kali existed remains as it is,
What should I do?
當以前的kali存在時的Entry保持原樣,
我該怎麼辦?
附件
過去
過去
現今
現今
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 磁盘使用率分析器也停止

#6

帖子 poloshiao » 2017-02-07 12:16

However, when I open Mint's / etc / fstab
#Entry for /dev/sda3 :
#UUID=23459634-134b-4811-a9de-b5ed98ac288e /media/kali_sda3 ext4 defaults 0 0
#Entry for /dev/sda4 :
#UUID=80e8ec12-01f4-4f65-97d8-5909ab7468f4 /media/kali_sda4 ext4 defaults 0 0
The Entry when the previous kali existed remains as it is,
What should I do?
當以前的kali存在時的Entry保持原樣,
我該怎麼辦?
The lines beginning with # will be ignored when booting process reads the /etc/fstab,
i.e. These lines are for comment or memo usage only.

Delete them with gksudo + text-editor if you think they are not necessary any more.
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: 磁盘使用率分析器也停止

#7

帖子 寺島聰子 » 2017-02-08 3:48

i am sorry. たった今、この回答がついていることを確認しました
I am sorry. I just confirmed that this answer is attached
對不起。 我只是確認這個答案附上
------------
The lines beginning with # will be ignored when booting process reads the /etc/fstab,
i.e. These lines are for comment or memo usage only.
聞いたことがあります。今、思い出しました。「memo usage only」だったとは、意外です。
I have heard of it. I remembered it now. It is surprising that it was "memo usage only".
sudo pluma /etc/fstab と gksudo pluma は同じことなのか?
Is sudo pluma / etc / fstab and gksudo pluma the same thing?

代码: 全选

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>

#Entry for /dev/sda1 :
UUID=3fb1c77c-7d46-4243-a955-790755e6023b	/	ext4	errors=remount-ro	0	1
# swap was on /dev/sda5 during installation
UUID=b27697f1-613f-485f-be6e-e1e5b65f1b14	none	swap	sw	0	0

# swap was on /dev/sda5 during installation
は無かったので、追記。
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: 磁盘使用率分析器也停止

#8

帖子 寺島聰子 » 2017-02-08 4:17

The sixth field (fs_passno).
This field is used by fsck(8) to determine the order in which filesystem checks are done at boot time. The root filesystem should be specified with a fs_passno of 1. Other filesystems should have a fs_passno of 2. Filesystems within a drive will be checked sequentially, but filesystems on different drives will be checked at the same time to utilize parallelism available in the hardware. Defaults to zero (don't fsck) if not present.
等等について、日本語翻訳ページの該当部分
相当的日语翻译
6 番目のフィールド ( fs_passno) は、リブート時にファイルシステムとクォータチェックが行われる順序を決定するために、 fsck(8) と quotacheck(8) によって使用されます。 fs_passno フィールドは、0 と‘ INT_MAX-1’の間の任意の値を指定できます。

ルートファイルシステムは、 fs_passno に 1、他のファイルシステムは、 fs_passno に 2 以上が指定されているべきです。 1 の fs_passno 値があるファイルシステムは、常に連続的にチェックされ、別のファイルシステムが処理される前に完了され、より大きい fs_passno があるすべてのファイルシステムの前に処理されます。

fs_passno の任意の与えられた値について、ドライブ中のファイルシステムは、連続的にチェックされますが、異なったドライブのファイルシステムは、ハードウェアで利用可能な並列処理を利用するために同時にチェックされます。いったん、すべてのファイルシステムチェックが、現在の fs_passno に対して完了するなら、同じプロセスは、次の fs_passno に対して再び開始されます。
6 番目のフィールドが存在していないか、0 であるなら、0 の値が返され、 fsck(8) と quotacheck(8) は、ファイルシステムがチェックされる必要はないと仮定します。
何が書かれているか、理解できない。というか、今の自分の段階では、「どう考えていたら」よいのでしょうか?
I can not understand what is written. Or, at my current stage, "What if I thought about it?"

http://www.yosbits.com/opensonar/rest/m ... tab.5.html
https://linuxjm.osdn.jp/html/util-linux ... tab.5.html
http://www.howtogeek.com/howto/38125/ht ... s-it-work/
fstab の解説ページ?英語でも日本語でも、概念自体が、 書いていること自体が難しく
理解しがたいですね
今後、解るようになるまで 頑張ります
An explanation page of fstab? Even in English and Japanese, the concept itself is hard to write itself
It is hard to understand
I will do my best!
fstab的解釋頁面? 即使在英語和日語,概念本身也很難寫自己
很難理解
我會盡我所能,直到我將來能夠理解它
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 磁盘使用率分析器也停止

#9

帖子 poloshiao » 2017-02-08 9:15

sudo pluma /etc/fstab と gksudo pluma は同じことなのか?
Is sudo pluma / etc / fstab and gksudo pluma the same thing?
1. viewtopic.php?p=3184837#p3184837
1-2. Using gksudo would better than using sudo in front of pluma, It will have better environment variables setting for desktop.
fstab的解釋頁面? 即使在英語和日語,概念本身也很難寫自己
很難理解
2. Refer to :
2-1. /etc/fstab
2-1-1. https://help.ubuntu.com/community/Fstab
2-1-2. http://manpages.ubuntu.com/manpages/tru ... tab.5.html
2-2. mount
2-2-1. https://help.ubuntu.com/community/Mount
2-2-2. https://help.ubuntu.com/community/Mount ... Partitions
2-2-3. http://manpages.ubuntu.com/manpages/tru ... unt.8.html

3. Note :
3-1. Most of the options in command mount are also can be used in the line in /etc/fstab.
3-2. Most of the options in the line in /etc/fstab are also can be used in the command mount.
3-3. Some options are global for general filesystems, while some options are filesystem-wise.
i.e. These options are only suitable for some special filesystem.
3-4. Read the manpages of fstab and mount if necesarry for more accurate application.
3-4-1. Some options are VERSION-wise, i.e. they may be different in Ubuntu 16.04 from in Ubuntu 14.04.
3-5-1. Some options are distribution-wise, i.e. they may be different in Ubuntu from in other linux distributions.
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: 磁盘使用率分析器也停止

#10

帖子 寺島聰子 » 2017-02-08 16:25

It will have better environment variables setting for desktop.
https://wiki.ubuntulinux.jp/UbuntuTips/Others/RootSudo
環境變量的補充說明
環境變量是用於存儲各種設置的變量
例如 $ HOME 存儲用戶的主目錄(文)
以下略
--------------
ありがとうございます
谢谢
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 磁盘使用率分析器也停止

#11

帖子 poloshiao » 2017-02-08 18:36

It will have better environment variables setting for desktop.
For extra supplement :

1. https://help.ubuntu.com/community/Envir ... _variables
Graphical desktop-related variables

2. https://help.ubuntu.com/community/Envir ... _variables
Gnome-specific variables
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: 磁盘使用率分析器也停止

#12

帖子 寺島聰子 » 2017-06-04 9:07

2. else session
2-1. press alt + f2
2-2. Copy the following command and paste it into the command line
gksudo baobab
2-3. Exucute it

3. Can it finish the full analyzing job ?
管理者権限で。今回初めて理解ができた
With administrator authority. I was able to understand for the first time this time
回复