Sponsored Content
Full Discussion: Remove older kernel
Operating Systems Linux Red Hat Remove older kernel Post 302525271 by fugitive on Thursday 26th of May 2011 08:48:13 AM
Old 05-26-2011
Remove older kernel

I upgraded from 2.6.32 to the 2.6.37.4 kernel and i 'm now booted from the new kernel .. but the size of the root file system / is increased substantially due to /usr/src .. and the new kernel is working fyn for us .. so i would like to remove the older kernel .. i tried to remove the 2.6.32 kernel package but it has lot of dependencies .. is there any simpler way to do it ?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Remove the older files

Hi All, I need to remove some old files which the file creation date is older than a week. I've tried to use command: find . -atime +6 -exec rm{}. but it seems the creation date of files shown above were not as I expected. please your kind advice. Thanks. (1 Reply)
Discussion started by: Prasandha
1 Replies

2. Shell Programming and Scripting

Need to remove files older than 30 days except directories

Hi, I need to remove files (*.trc) which are older than 30 days from one location. My problem is there I do not want to visit any of the directories at that location. I want to search files at that particular location only (need to skip directorys at that location). maxdepth option is there... (6 Replies)
Discussion started by: malaymaru
6 Replies

3. Shell Programming and Scripting

script to remove files older than 60 days

Hi I need help in the script which looks at a contorl file which has a list of file names like xxxx.12345 and I want to take only xxxxx and search in a specific directory and remove the file if its older than 60 days I have written something like this.. but seems to be wrong... (1 Reply)
Discussion started by: antointoronto
1 Replies

4. UNIX for Dummies Questions & Answers

Compile most recent kernel on older distro ?

Debian lenny uses the 2.6.26 kernel by default. Can I compile the most recent kernel from kernel.org and use it instead ? Will the new kernel be incompatible with other installed softwares ? (1 Reply)
Discussion started by: cyler
1 Replies

5. UNIX for Advanced & Expert Users

How to Remove 180 days older non-empty directories

Hi Gurus, I have command to delete more than 180days file. find /home/abc/ -name "CBST_*.txt*" -mtime +180 | xargs -n 100 rm -f Now I would like to delete more than 180days Non empty directory--What will be command? Following is non empty directory as instance CBST2010* (2 Replies)
Discussion started by: thepurple
2 Replies

6. Shell Programming and Scripting

[Solved] Remove file older than 90 days

I have crontab job a tar file to a directory ( tar -cvf /tmp/backup/or.`date +%m%d%y`. /ora/db/* ) , it will do it every day . Now I don't want to keep too much files , I just want to keep the file for 90 days , can advise if I want to remove the backup file which are elder than 90 days , can... (1 Reply)
Discussion started by: ust3
1 Replies

7. Shell Programming and Scripting

Remove files older than 2 days.

Hi All, I am new to the scripting and using solaris 10 OS. Please suggest me from the below script which modifications need to be done to delete the files more that 2days older. Current script is deleting existing file. # Remove old explorer runs if needed DIR=`dirname ${EXP_TARGET}` if ... (2 Replies)
Discussion started by: Navkreddy
2 Replies

8. Shell Programming and Scripting

Remove lines older than 30 days

Hi Experts/Gurus, Is there a way to remove lines in a file that are older than x days (i.e. 30 days) based on the date stamp in the first column? Example. $ date Sat Jan 11 14:12:06 EDT 2014 $cat sample.txt 10-10-2013 09:00:01 AM|Line test 1234567 16-10-2013 08:30:00 AM|Line test... (6 Replies)
Discussion started by: brichigo
6 Replies

9. Solaris

Older OS support in Kernel zones

folks, I have a query. Can we create Kernel zone with the earlier Solaris OS? More precisely Can i create kernel zone with any different OS than that of OS in global zone. As of now in sol11U2 if we create kernel zone, there will be sol11u2 OS in kernel zone since the same is in global. But... (4 Replies)
Discussion started by: Vaishey
4 Replies

10. Shell Programming and Scripting

Remove lines having older end time

Hi, In my bash script I want to add a code which remove all entries older than x days. To simplify this problem, I have divided into 3 parts. (2 parts are done looking answer for 3rd part.) To find the latest log date - Done Latest_Time=`find . -name '*.tps' -exec sed '/endTime/!d; s/{//;... (3 Replies)
Discussion started by: Agoyals1986
3 Replies
kloadsrv(8)						      System Manager's Manual						       kloadsrv(8)

NAME
kloadsrv - Kernel load server SYNOPSIS
/sbin/kloadsrv [-V] [-f] [-d debug-level] [-log logfile] [-p kernel-package-name] [kernel-object-filename] FLAGS
Displays the version of the kloadsrv command. Causes kloadsrv to remain in the foreground. Specifies the level of debugging information. The debug-level is a small integer. Zero disables debugging. Nonzero values from one to higher levels cause kloadsrv to display various log messages. Specifies that the debugging information is to be sent to the specified log file. Logfile should be specified as a full pathname. By default, the debugging information is sent to /dev/console. Specifies the name of the default kernel package. DESCRIPTION
The kloadsrv command loads kernel modules into the kernel. It is typically started during system startup. If you omit the kernel-object- filename from the startup command line, the kloadsrv daemon uses the running kernel. During its initialization, kloadsrv builds a list of kernel symbols that device drivers can use. Moving or overwriting the kernel object file in single user mode can cause this list of symbols to contain inaccurate addresses. The addresses in the list reflect the addresses in the new kernel, not the addresses in the booted kernel. Each symbol exported by the kernel belongs to the kernel package. This package is named kernel, unless you use the -p flag. Once kloadsrv has successfully initialized itself, it puts itself into the background and enters its server loop, where it waits to receive and respond to load requests, unload requests, and query requests. If you specify the -f flag, the command remains in the foreground. RELATED INFORMATION
Commands: cfgmgr(8), sysconfig(8), sysconfigdb(8) delim off kloadsrv(8)
All times are GMT -4. The time now is 04:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy