Sponsored Content
Full Discussion: UNIX System Admin Document
Top Forums UNIX for Advanced & Expert Users UNIX System Admin Document Post 33314 by hugo_perez on Friday 27th of December 2002 11:44:15 AM
Old 12-27-2002
in HP-UX ... (kernel)

Code:
#!/bin/ksh
linea=""
LOG="./datos/kernel.txt"
> $LOG
header="Parameter;Current;Planned;Default;Minimum;Module;Version;Dynamic"
echo "$header" |tee -a ./datos/kernel.txt
inicio=1
kmtune -l | while read c1 c2
do
  if [ "$c1" = "Parameter:" ]
  then
     if [ $inicio -eq 1 ]
     then
        linea=$linea"$c2;"
        inicio=0
     else
        echo $linea |tee -a ./datos/kernel.txt
        linea="$c2;"
     fi
  else
     linea=$linea"$c2;"
  fi
done
exit 0

added code tags for readability --oombera

Last edited by oombera; 02-20-2004 at 04:16 PM..
 

5 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Shell Scripted Document Management System

Over the past 4 -5 years, I have cobbled together a rudimentary 'Document Management System' for a school district I support using Linux Bash Shell scripts.. The purpose of the scripting was to supplement features of a Job Applicant Center that had very simplistic methods of handle file... (1 Reply)
Discussion started by: rmuledeer
1 Replies

2. HP-UX

After becoming HP UX 11iV3 System Admin

What is a logical step forward to learn much more about HP UX? Learn HP Integrity BladeSystem Administration or learn more about scripting? Learn more about storage? Can someone tell me how to become more effective? I am already working with HP UX everyday. Thanks a lot for every reply I... (4 Replies)
Discussion started by: velde_van_der_a
4 Replies

3. Homework & Coursework Questions

System Admin. Lab

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Create a group id with your last name. Create 2 user IDs using your last name and the numbers 1 and 2. For each... (3 Replies)
Discussion started by: Jagst3r21
3 Replies

4. Red Hat

System Admin related document with example

Hi, I am looking for perfect document.which is covered all the admin role with examples..... --> Please say that "search in google"...... Can you please help on this.... Thanks & Regards, Mani (3 Replies)
Discussion started by: Mani_apr08
3 Replies

5. What is on Your Mind?

Regarding Admin life either as DBA or UNIX Linux admin

I am planning to choose my career as Unix/Linux Admin or a DBA. But I have come to know from forums and few admins like the job will be 24/7. I have few questions on that. Can we get "DAY" shifts in any one of the admin Job ? Can't we have shift timings in any company ? Eventhough the... (7 Replies)
Discussion started by: Jacktts
7 Replies
KERNEL-COMMAND-LINE(7)						kernel-command-line					    KERNEL-COMMAND-LINE(7)

NAME
kernel-command-line - Kernel command line parameters SYNOPSIS
/proc/cmdline DESCRIPTION
The kernel, the initial RAM disk (initrd) and basic userspace functionality may be configured at boot via kernel command line arguments. For command line parameters understood by the kernel, please see kernel-parameters.txt[1] and bootparam(7). For command line parameters understood by the initial RAM disk, please see dracut.cmdline(7), or the documentation of the specific initrd implementation of your installation. CORE OS COMMAND LINE ARGUMENTS
systemd.unit=, rd.systemd.unit=, systemd.dump_core=, systemd.crash_shell=, systemd.crash_chvt=, systemd.confirm_spawn=, systemd.show_status=, systemd.log_target=, systemd.log_level=, systemd.log_color=, systemd.log_location=, systemd.default_standard_output=, systemd.default_standard_error=, systemd.setenv= Parameters understood by the system and service manager to control system behavior. For details, see systemd(1). quiet Parameter understood by both the kernel and the system and service manager to control console log verbosity. For details, see systemd(1). debug Parameter understood by both the kernel and the system and service manager to control console log verbosity. For details, see systemd(1). -b, emergency, single, s, S, 1, 2, 3, 4, 5 Parameters understood by the system and service manager, as compatibility options. For details, see systemd(1). locale.LANG=, locale.LANGUAGE=, locale.LC_CTYPE=, locale.LC_NUMERIC=, locale.LC_TIME=, locale.LC_COLLATE=, locale.LC_MONETARY=, locale.LC_MESSAGES=, locale.LC_PAPER=, locale.LC_NAME=, locale.LC_ADDRESS=, locale.LC_TELEPHONE=, locale.LC_MEASUREMENT=, locale.LC_IDENTIFICATION= Parameters understood by the system and service manager to control locale and language settings. For details, see systemd(1). fsck.mode= Parameter understood by the file system checker services. For details, see systemd-fsck@.service(8). quotacheck.mode= Parameter understood by the file quota checker service. For details, see systemd-quotacheck.service(8). systemd.journald.forward_to_syslog=, systemd.journald.forward_to_kmsg=, systemd.journald.forward_to_console= Parameters understood by the journal service. For details, see systemd-journald.service(8). vconsole.keymap=, vconsole.keymap.toggle=, vconsole.font=, vconsole.font.map=, vconsole.font.unimap= Parameters understood by the virtual console setup logic. For details, see systemd-vconsole-setup.service(8). udev.log-priority=, rd.udev.log-priority=, udev.children-max=, rd.udev.children-max=, udev.exec-delay=, rd.udev.exec-delay=, net.ifnames= Parameters understood by the device event managing daemon. For details, see systemd-udevd.service(8). plymouth.enable= May be used to disable the Plymouth boot splash. For details, see plymouth(8). luks=, rd.luks=, luks.crypttab=, rd.luks.crypttab=, luks.uuid=, rd.luks.uuid=, luks.options=, rd.luks.options=, luks.key=, rd.luks.key= Configures the LUKS full-disk encryption logic at boot. For details, see systemd-cryptsetup-generator(8). fstab=, rd.fstab= Configures the /etc/fstab logic at boot. For details, see systemd-fstab-generator(8). modules-load=, rd.modules-load= Load a specific kernel module early at boot. For details, see systemd-modules-load.service(8). SEE ALSO
systemd(1), bootparam(7), dracut.cmdline(7), systemd-fsck@.service(8), systemd-quotacheck.service(8), systemd-journald.service(8), systemd- vconsole-setup.service(8), systemd-udevd.service(8), plymouth(8), systemd-cryptsetup-generator(8), systemd-fstab-generator(8), systemd- modules-load.service(8) NOTES
1. kernel-parameters.txt https://www.kernel.org/doc/Documentation/kernel-parameters.txt systemd 208 KERNEL-COMMAND-LINE(7)
All times are GMT -4. The time now is 06:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy