10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
A space, a tab? Just currious what, why, you indent in x way?
Fwiw, I use vi, so kind'a currious how you vi folks approach indentation when writing code (eg python).
Disclosure, I'm just learning python and have never seen a language use indentation so formally (I like it too:) ). I just... (7 Replies)
Discussion started by: sas
7 Replies
2. UNIX for Dummies Questions & Answers
Hi, Dummy here!
I have a file in my directory named "jest". I wonder why I couldn't save change by using Shift + z + z which I used to do. But it work fine with :wq! command.
The second thing is, after several time of accessing the file, I notice my directory appears many files named jest~,... (1 Reply)
Discussion started by: Xierian
1 Replies
3. Shell Programming and Scripting
i have a file that contains information such as this:
hostname.sky.net === 12.39.59.35
hostname.sky.net === 12.39.59.35
hostname.sky.net === 12.39.59.35
hostname-newyork.sky.net ==== 13.45.35.24
hostname-newyork.sky.net ==== 13.45.35.24... (3 Replies)
Discussion started by: SkySmart
3 Replies
4. Shell Programming and Scripting
Every now and then I have to indent the lines in my script to 4 space characters.
I generally do it line by line.
Is there an automated command in vi using which I can indent some set of lines to desired number of space characters in one go. (2 Replies)
Discussion started by: paragkalra
2 Replies
5. UNIX and Linux Applications
Hi People,
Does gvim latest versions support tabs. I would like to open different files in tabs rather than new windows or split windows. I would like to whether the current version supports it, if it doesn't then how to add such feature.
Thanks,
:) (2 Replies)
Discussion started by: rimser9
2 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I'm working on a big project and all the CPP and header files are in mess with respect to indentation. I would like to indent whole file(s) at once (like ctrl-shift-f in eclipse). Is there anybody who knows how to do that in vi/vim?
thanks (2 Replies)
Discussion started by: SaTYR
2 Replies
7. Windows & DOS: Issues & Discussions
Have you used gVim editor on Windows (xp)? I am talking about the GUI version of vim that you can click the icon on desktop and the gVim editor pops-up and you can create/edit files.
Here's my problem: When I use vim editor on cygwin to create/edit files the file creation mask is set to a... (3 Replies)
Discussion started by: milhan
3 Replies
8. Red Hat
I have a linux Enterprise Server Version 3 (ES) . It does not have Gvim on it. Can someone tell me how I can get Gvim on it please. I have spent a fair bit of time researching this and have not figured it out. I am probably missing something simple.
Frank (1 Reply)
Discussion started by: frankkahle
1 Replies
9. UNIX for Dummies Questions & Answers
I know this is not a unix question but I also know that many of you use vim editor every day. So hoping to get some help, here it goes:
How can I change my vim config file so that the indentations while c programming take 4 spaces instead of 8?
I want the change to apply any further uses of... (4 Replies)
Discussion started by: Virtuosso
4 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I use vi for my text editing. Is there a way to use smart indentation?
that is when adding a '{' or '}' that the editor will jump and advance, or any other thing like that?
thanks (1 Reply)
Discussion started by: sierra_aar
1 Replies
intel_gpu_top(1) General Commands Manual intel_gpu_top(1)
NAME
intel_gpu_top - Display a top-like summary of Intel GPU usage
SYNOPSIS
intel_gpu_top
intel_gpu_top [ parameters ]
DESCRIPTION
intel_gpu_top is a tool to display usage information of an Intel GPU. It requires root privilege to map the graphics device.
Options
-s [samples per second]
number of samples to acquire per second
-o [output file]
collect usage statistics to [file]. If file is "-", run non-interactively and output statistics to stdout.
-e ["command to profile"]
execute a command, and leave when it is finished. Note that the entire command with all parameters should be included as one parame-
ter.
-h show usage notes
EXAMPLES
intel_gpu_top -o "cairo-trace-gvim.log" -s 100 -e "cairo-perf-trace /tmp/gvim"
will run cairo-perf-trace with /tmp/gvim trace, non-interactively, saving the statistics into cairo-trace-gvim.log file, and col-
lecting 100 samples per second.
Note that idle units are not displayed, so an entirely idle GPU will only display the ring status and header.
BUGS
Some GPUs report some units as busy when they aren't, such that even when idle and not hung, it will show up as 100% busy.
X Version 11 intel-gpu-tools 1.3 intel_gpu_top(1)