修改/dev/shm大小
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash
免费下载资源
·
1
2
3
|
[root@centos-fuwenchao mntsda3]# df -h /dev/shm
Filesystem Size Used Avail Use% Mounted on
tmpfs 935M 228K 935M
1
% /dev/shm
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
[root@centos-fuwenchao mntsda3]# vi /etc/fstab
1
2
#
3
# /etc/fstab
4
# Created by anaconda on Fri Nov
1
21
:
18
:
42
2013
5
#
6
# Accessible filesystems, by reference, are maintained under
'/dev/disk'
7
# See man pages fstab(
5
), findfs(
8
), mount(
8
) and/or blkid(
8
)
for
more info
8
#
9
UUID=8e319772-a274-
4031
-a53f-1178b3ab4de6 / ext4 defaults
1
1
10
UUID=ad4de750-
9575
-
4040
-a403-08c0642f0f2c swap swap defaults
0
0
11
tmpfs /dev/shm tmpfs defaults
0
0
12
devpts /dev/pts devpts gid=
5
,mode=
620
0
0
13
sysfs /sys sysfs defaults
0
0
14
proc /proc proc defaults
0
0
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
[root@centos-fuwenchao mntsda3]# cp /etc/fstab /etc/fstab.
20140218
[root@centos-fuwenchao mntsda3]# vi /etc/fstab
1
2
#
3
# /etc/fstab
4
# Created by anaconda on Fri Nov
1
21
:
18
:
42
2013
5
#
6
# Accessible filesystems, by reference, are maintained under
'/dev/disk'
7
# See man pages fstab(
5
), findfs(
8
), mount(
8
) and/or blkid(
8
)
for
more info
8
#
9
UUID=8e319772-a274-
4031
-a53f-1178b3ab4de6 / ext4 defaults
1
1
10
UUID=ad4de750-
9575
-
4040
-a403-08c0642f0f2c swap swap defaults
0
0
11
tmpfs /dev/shm tmpfs defaults,size=1024M
0
0
12
devpts /dev/pts devpts gid=
5
,mode=
620
0
0
13
sysfs /sys sysfs defaults
0
0
14
proc /proc proc defaults
0
0
|
1
2
3
4
5
6
7
|
[root@centos-fuwenchao mntsda3]# mount -o remount /dev/shm
[root@centos-fuwenchao mntsda3]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1
9
.7G
4
.6G
4
.7G
50
% /
tmpfs
1
.0G 228K
1
.0G
1
% /dev/shm
/dev/sr0
4
.1G
4
.1G
0
100
% /media/CentOS_6.4_Final
/dev/sda3 38G 176M 36G
1
% /mnt/mntsda3
|
GitHub 加速计划 / li / linux-dash
10.39 K
1.2 K
下载
A beautiful web dashboard for Linux
最近提交(Master分支:2 个月前 )
186a802e
added ecosystem file for PM2 4 年前
5def40a3
Add host customization support for the NodeJS version 4 年前
更多推荐
已为社区贡献2条内容
所有评论(0)