10-09-2001
VI opens slow
I tried ex filename, and it took the same amount of time.
The host machine where the file resides is a linux box running Redhat 5.1
I know this is an odd problem. I don't understand why it would have this problem.
I'm afraid I can't give you access to them system. Sorry.
8 More Discussions You Might Find Interesting
1. AIX
When I login to a unix box using a putty session , I'm landed in a vi editor, instead of my home directory,I'm guessing instead of pointing me to my home directory, the system points me to /usr/bin/vi. As a result, everytime I log into the system I open up a vi editor and am in there. how do i... (3 Replies)
Discussion started by: ramky79
3 Replies
2. UNIX for Dummies Questions & Answers
hello everybody
I´m very new at shell and programming :eek: and i have the following question/problem:
I need a script for framemaker (based on shell) which opens a new document from a template (.fm). Then imports a .doc file and then save it as a .mif.
Actually my script works with one... (3 Replies)
Discussion started by: tio86
3 Replies
3. Linux
Hi all,
I have a process with PID as 12456. Could you please let me know how do i find out what is the port that process listens upon in Linux?
Thanks in Advance,
Pankajakshan (1 Reply)
Discussion started by: Pankajakshan
1 Replies
4. IP Networking
Hi all,
I have a process with PID as 12456. Could you please let me know how do i find out what is the port that process listens upon in Linux?
Thanks in Advance,
Pankajakshan (2 Replies)
Discussion started by: Pankajakshan
2 Replies
5. Shell Programming and Scripting
Any Idea without entering any keystroke I can go to end of line in vi when I opening the file.
When I am opening Vi I want to goto last line.
when I give vi + filename it does not work.
Any clue why it does not work.
Thanks. (3 Replies)
Discussion started by: ekb
3 Replies
6. OS X (Apple)
Hi there,
If we have 2 apps on our customers machines that can both open files of a certain file extension, is there any way via shell commands to set which application should be the default?
Essentially, I'm hoping to replicate Get Info > Open With > Change All, but using a script.
Thanks... (0 Replies)
Discussion started by: davewg
0 Replies
7. Shell Programming and Scripting
Ever since I added these two code blocks to my bash menu it just opens and closes right away. I use a batch file that worked fine until these codes were added and I am not sure what is wrong.
Basically, what I am trying to do in the additional section is if the answer is "Y" then it goes back... (13 Replies)
Discussion started by: cmccabe
13 Replies
8. Shell Programming and Scripting
Hello everyone,
This code is working right using mate-terminal but with xfce4-terminal for some reason, it open up an extra tab...
Could someone please help me out to understand why this is happening?
#!/bin/bash
cd "$(dirname "$0")"/files
tab=" --tab"
title=" --title"
options=()... (2 Replies)
Discussion started by: soichiro
2 Replies
tickadj(1) General Commands Manual tickadj(1)
NAME
tickadj - set time-related kernel variables
SYNOPSIS
tickadj [ -Aqs ] [ -a tickadj ] [ -t tick ]
DESCRIPTION
The tickadj program reads, and optionally modifies, several timekeeping-related variables in the running kernel in some machines, via
/dev/kmem . The particular variables it is concerned with are tick , which is the number of microseconds added to the system time during a
clock interrupt, tickadj , which sets the slew rate and resolution used by the adjtime system call, and dosynctodr , which indicates to
the kernels on some machines whether they should internally adjust the system clock to keep it in line with time-of-day clock or not.
By default, with no arguments, tickadj reads the variables of interest in the kernel and displays them. At the same time, it determines an
"optimal" value for the value of the tickadj variable if the intent is to run the ntpd Network Time Protocol (NTP) daemon, and prints this
as well. Since the operation of tickadj when reading the kernel mimics the operation of similar parts of the ntpd program fairly closely,
this can be useful when debugging problems with ntpd .
Note that tickadj should be run with some caution when being used for the first time on different types of machines. The operations which
tickadj tries to perform are not guaranteed to work on all Unix machines and may in rare cases cause the kernel to crash.
COMMAND LINE OPTIONS
-a tickadj Set the kernel variable tickadj to the value tickadj specified.
-A Set the kernel variable tickadj to an internally computed "optimal" value.
-t tick Set the kernel variable tick to the value tick specified.
-s Set the kernel variable dosynctodr to zero, which disables the hardware time-of-year clock, a prerequisite for running the ntpd
daemon under SunOS4.
-q Normally, tickadj is quite verbose about what it is doing. The -q flag tells it to shut up about everything except errors.
FILES
/vmunix
/unix
/dev/kmem
BUGS
Fiddling with kernel variables at run time as a part of ordinary operations is a hideous practice which is only necessary to make up for
deficiencies in the implementation of adjtime in many kernels and/or brokenness of the system clock in some vendors' kernels. It would be
much better if the kernels were fixed and the tickadj program went away.
SEE ALSO
More documentation is available in the package ntp-doc.
AUTHOR
David L. Mills <mills@udel.edu>
ntp 4.1.1b-r5 tickadj(1)