0
点赞
收藏
分享

微信扫一扫

使用tmpfs作为缓存加速缓存的文件目录

沈芏 2022-06-27 阅读 61

使用tmpfs作为缓存加速缓存的文件目录

[root@web02 ~]# mount -t tmpfs tmpfs /dev/shm -o size=256m
[root@web02 ~]# mount -t tmpfs /dev/shm/ /tmp/eaccelerator/
[root@web02 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 6.6G 3.9G 2.5G 62% /
/dev/sda1 190M 36M 145M 20% /boot
tmpfs 256M 0 256M 0% /dev/shm
/dev/shm 238M 0 238M 0% /tmp/eaccelerator


举报

相关推荐

0 条评论