10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
HI Team,
I am trying to create a shell script to generate a yesterday and today report to compare and email in daily basis. can you please help me on the same.
#!/bin/bash
#Author: *******************
#Description: This script will return the following set of system information:
... (2 Replies)
Discussion started by: Mi4304
2 Replies
2. UNIX for Advanced & Expert Users
Hi Team
when I boot the server I get this 2 errors :
the disk drive for /tmp is not ready yet or not present
the disk drive for /boot is not ready yet or not present
and its stay like that , I m using Ubuntu 12.04
please if someone have any idea how to fix that problem . (1 Reply)
Discussion started by: SULTAN01
1 Replies
3. Solaris
Hi all,
Q1) Due to application requirement, i am required to have more swap space.
Currently my swap is on a partition with 32GB.
I have another partition with 100GB, but it already has a UFS filesystem on it.
Can i just swap -d /dev/dsk/current32gb and swap -a /dev/dsk/ufs100gb ?
Will... (17 Replies)
Discussion started by: javanoob
17 Replies
4. Red Hat
Dear Guru,
IHAC who is using Redhat Linux 5 on DELL M910.
When system bootup, it show "Buffer I/O error on device sdd" error message. Below is the "dmesg" output.
The scenario is:
If more external FC SAN disk LUN add, the device would change other name. So it will impact the raw device... (7 Replies)
Discussion started by: devyfong
7 Replies
5. UNIX for Dummies Questions & Answers
hi guys
I have a server(x3650 M2) connected to a SAN...it takes a long time to boot with a lot errors like these
any idea how to fix that?
Suse Enterprise 10 SP3
update as soon as I disconnect the HBAs boots up normal and fast and no messages
sdi:end_request: I/O error, dev sdh,... (0 Replies)
Discussion started by: kopper
0 Replies
6. HP-UX
Hi
I have an integrity machine rx7620 and rx8640 running hp-ux 11.31. I'm planning to fine tune the system:
- I would like to know when does the memory swap space spill over to the device swap space?
- And how much % of memory swap utilization should be specified (swap space device... (6 Replies)
Discussion started by: lamoul
6 Replies
7. Solaris
Hi experts,
In my solaris system when i run the command df -h i got the below response.I have some confusion which i want to share with you guys.1)there are two SWAP file system shows are they same or different?2)if i want to count the total disk space should i take both the swap space or only... (2 Replies)
Discussion started by: rafiassam
2 Replies
8. Solaris
Using 'swap -l' I can get the disk based portion of swap.
What if the swap (/usr/bin/swap) command isn't available. What are my options then? Could I get this number with kstat?
From /etc/vfstab, I can see the partitions that are reserved for swap.
/dev/dsk/c0d0s1
using df however not... (3 Replies)
Discussion started by: Devyn
3 Replies
9. Programming
Hi,
For a new requirement, we are trying to use NFS mounted directory as the buffer (TMP_DIR) for untar.
Target OS- VxWorks
Host OS - Windows Embedded.
mounted a directory in wondows onto VxWorks.
During untar process of GNU we come across utime, for chaning the time stamp of the... (0 Replies)
Discussion started by: suraj.bc
0 Replies
10. UNIX for Dummies Questions & Answers
Hello,
Can someone please tell me which command to use to determine the available disk space on a given disk device?
I have to write a shell script that compresses files and stores them in a specific location but I am not sure how "conservative" I should be?
Thanks in advance!
Al. (4 Replies)
Discussion started by: alan
4 Replies
SYSTEMD.SWAP(5) systemd.swap SYSTEMD.SWAP(5)
NAME
systemd.swap - systemd swap configuration files
SYNOPSIS
systemd.swap
DESCRIPTION
A unit configuration file whose name ends in .swap encodes information about a swap device or file for memory paging controlled and
supervised by systemd.
This man page lists the configuration options specific to this unit type. See systemd.unit(5) for the common options of all unit
configuration files. The common configuration items are configured in the generic [Unit] and [Install] sections. The swap specific
configuration options are configured in the [Swap] section.
Swap units must be named after the devices (resp. files) they control. Example: the swap device /dev/sda5 must be configured in a unit file
dev-sda5.swap. For details about the escaping logic used to convert a file system path to a unit name see systemd.unit(5).
All swap units automatically get the appropriate dependencies on the devices (resp. on the mount points of the files) they are activated
from.
Swap units with DefaultDependencies= enabled implicitly acquire a conflicting dependency to umount.target so that they are deactivated at
shutdown.
FSTAB
Swap units may either be configured via unit files, or via /etc/fstab (see fstab(5) for details).
If a swap device or file is configured in both /etc/fstab and a unit file the configuration in the latter takes precedence.
Unless the noauto option is set for them all swap units configured in /etc/fstab are also added as requirements to swap.target, so that
they are waited for and activated during boot.
OPTIONS
Swap files must include a [Swap] section, which carries information about the swap device it supervises. A number of options that may be
used in this section are shared with other unit types. These options are documented in systemd.exec(5). The options specific to the [Swap]
section of swap units are the following:
What=
Takes an absolute path of a device node or file to use for paging. See swapon(8) for details. If this refers to a device node, a
dependency on the respective device unit is automatically created. (See systemd.device(5) for more information.) If this refers to a
file, a dependency on the respective mount unit is automatically created. (See systemd.mount(5) for more information.) This option is
mandatory.
Priority=
Swap priority to use when activating the swap device or file. This takes an integer. This setting is optional.
TimeoutSec=
Configures the time to wait for the swapon command to finish. If a command does not exit within the configured time the swap will be
considered failed and be shut down again. All commands still running will be terminated forcibly via SIGTERM, and after another delay
of this time with SIGKILL. (See KillMode= below.) Takes a unit-less value in seconds, or a time span value such as "5min 20s". Pass 0
to disable the timeout logic. Defaults to 90s.
KillMode=
Specifies how processes of this swap shall be killed. One of control-group, process, none.
This option is mostly equivalent to the KillMode= option of service files. See systemd.service(5) for details.
KillSignal=
Specifies which signal to use when killing a process of this swap. Defaults to SIGTERM.
SendSIGKILL=
Specifies whether to send SIGKILL to remaining processes after a timeout, if the normal shutdown procedure left processes of the swap
around. Takes a boolean value. Defaults to "yes".
SEE ALSO
systemd(1), systemctl(8), systemd.unit(5), systemd.exec(5), systemd.device(5), systemd.mount(5), swapon(8)
AUTHOR
Lennart Poettering <lennart@poettering.net>
Developer
systemd 10/07/2013 SYSTEMD.SWAP(5)