Get information on your graphics card on linux (such as graphics memory size)

lspci -v -s `lspci | awk '/VGA/{print $1}'`
probably only works if you have one graphics card. used this: http://www.cyberciti.biz/faq/howto-find-linux-vga-video-card-ram/ as reference can be expanded, for example: lspci -v -s `lspci | awk '/VGA/{print $1}'` | sed -n '/Memory.*, prefetchable/s/.*\[size=\([^]]\+\)\]/\1/p' will just get the amount of prefetchable memory compare to: lshw -C display which does not give the size (it does give byte ranges and you could calculate the size from that, but that's a pain) Also uses a command which is not standard on linux; wheras lspci is a core utility provided by most systems
Sample Output
01:00.0 VGA compatible controller: nVidia Corporation G92 [GeForce 9800 GTX] (rev a2) (prog-if 00 [VGA controller])
        Subsystem: XFX Pine Group Inc. Device 2373
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at e6000000 (32-bit, non-prefetchable) [size=16M]
        Memory at c0000000 (64-bit, prefetchable) [size=512M]
        Memory at e4000000 (64-bit, non-prefetchable) [size=32M]
        I/O ports at a000 [size=128]
        [virtual] Expansion ROM at e7000000 [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: nvidia
        Kernel modules: nvidia, nouveau, nvidiafb

if runs as super-user you get extra info:
01:00.0 VGA compatible controller: nVidia Corporation G92 [GeForce 9800 GTX] (rev a2) (prog-if 00 [VGA controller])
        Subsystem: XFX Pine Group Inc. Device 2373
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at e6000000 (32-bit, non-prefetchable) [size=16M]
        Memory at c0000000 (64-bit, prefetchable) [size=512M]
        Memory at e4000000 (64-bit, non-prefetchable) [size=32M]
        I/O ports at a000 [size=128]
        [virtual] Expansion ROM at e7000000 [disabled] [size=128K]
        Capabilities: [60] Power Management version 3
        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [78] Express Endpoint, MSI 00
        Capabilities: [100] Virtual Channel
        Capabilities: [128] Power Budgeting <?>
        Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
        Kernel driver in use: nvidia
        Kernel modules: nvidia, nouveau, nvidiafb

2
By: infinull
2010-10-26 17:45:14

1 Alternatives + Submit Alt

  • Loop is needed if you have more then one card. Show Sample Output


    4
    for I in `/sbin/lspci |awk '/VGA/{print $1}'`;do /sbin/lspci -v -s $I;done
    houghi · 2010-10-26 19:02:26 6

What Others Think

Very fortunate to visit your site and know this useful information, I am very grateful for the information you provide. Thank you so much, I will follow you regularly for such useful information, so keep it up to date. mapquest directions
tomhiddleston · 181 weeks and 2 days ago
Chipset is one of the basic and most important parts of an android device. Dissertation Writing Services
oliverjake · 132 weeks ago
Pug Puppies for Sale Near Me pugs puppies for sale teacup pugs for sale pug puppies for sale by owner pug puppies ohio PUG PUPPY FOR SALE NEAR ME PUG PUPPIES FOR SALE pug puppies for sale in kentucky Pug Puppies for Sale Under $500 Near Me pug puppies for sale in texas pug puppies for sale $200 pugs for sale near me under $500 pugs for sale under $400 near me pugs for sale near me puppies for sale near me under $500 pug puppies for sale under $1,000 near me pug for sale pug puppies for sale under $300 Brindle Pug Pitbull Pug Mix Pugs for sale cheap Cheap pug affordable pug puppies for sale near me black pugs for sale near me White Pugs for sale pug dog for sale free pug puppies pug puppies for sale in my area mn pug breeders pug puppies indiana pugs for sale michigan PUG PUPPY ADOPTION Pug puppies for sale Pug puppies for sale near me Pug puppies near me Pug Puppies for Sale Under $500 Near Me Cute Pug Puppies Black pug puppies Black pug puppies for sale pug puppies for adoption black pug puppies for sale near me chihuahua pug mix puppies how much is a pug puppy teacup pug puppies baby pug puppies pictures of pug puppies pug puppies for sale in Ohio pug puppies price pug mix puppies teacup pug puppies for sale best food for pug puppy newborn pug puppies pug puppies craigslist pug puppies for sale craigslist adorable pug puppies how much does a pug puppy cost Pitbull pug mix puppies pug pit mix puppy pug puppies for sale $200 pug puppies for sale in NJ Pug puppies for sale in Wisconsin pug puppy cost pug puppy food royal canin pug puppy royal canin pug puppy food fawn pug puppy pug puppies for sale florida pug puppies for sale in Indiana pug puppies for sale in KY pug puppies for sale in NC pug dog puppy AKC Registered Pug Puppies For sale cheap pug puppies for sale near me cheap pug puppies for sale in California cheap pug puppies for sale in nj Black Pug Puppies for sale pugs puppies for sale
rahimhh21 · 85 weeks and 3 days ago
Pug Puppies for Sale Near Me pugs puppies for sale teacup pugs for sale pug puppies for sale by owner pug puppies ohio PUG PUPPY FOR SALE NEAR ME PUG PUPPIES FOR SALE pug puppies for sale in kentucky Pug Puppies for Sale Under $500 Near Me pug puppies for sale in texas pug puppies for sale $200 pugs for sale near me under $500 pugs for sale under $400 near me pugs for sale near me puppies for sale near me under $500 pug puppies for sale under $1,000 near me pug for sale pug puppies for sale under $300 Brindle Pug Pitbull Pug Mix Pugs for sale cheap Cheap pug affordable pug puppies for sale near me black pugs for sale near me White Pugs for sale pug dog for sale free pug puppies pug puppies for sale in my area mn pug breeders pug puppies indiana pugs for sale michigan PUG PUPPY ADOPTION Pug puppies for sale Pug puppies for sale near me Pug puppies near me Pug Puppies for Sale Under $500 Near Me USA USA USA USA USA USA Cute Pug Puppies Black pug puppies Black pug puppies for sale pug puppies for adoption black pug puppies for sale near me chihuahua pug mix puppies how much is a pug puppy teacup pug puppies baby pug puppies baby pug puppies for sale pictures of pug puppies pug puppies for sale in Ohio pug puppies price pug mix puppies teacup pug puppies for sale best food for pug puppy newborn pug puppies pug puppies craigslist pug puppies for sale craigslist adorable pug puppies how much does a pug puppy cost Pitbull pug mix puppies pug pit mix puppy pug puppies for sale $200 pug puppies for sale in NJ Pug puppies for sale in Wisconsin pug puppy cost pug puppy food royal canin pug puppy royal canin pug puppy food fawn pug puppy pug puppies for sale florida pug puppies for sale in Indiana pug puppies for sale in KY pug puppies for sale in NC pug dog puppy AKC Registered Pug Puppies For sale cheap pug puppies for sale near me cheap pug puppies for sale in California cheap pug puppies for sale in nj Black Pug Puppies for sale pugs puppies for sale
Perfecthomepugs · 76 weeks and 4 days ago
Perfect House Of Pugs acquired a passion for animals, and the Pug puppy in particular, at a young age since I grew up in a house with lots of dogs. It was a natural ability to know how to grow, nurture, and care for animals. I knew what the future held when I met my wife, who essentially had the same enthusiasm as I have. Being a breeder is more of a passion for me than a profession since I get to witness people's faces light up when they successfully adopt a pug puppy from our facility. It is not possible to find happiness in anything else. PLEASE VISIT OUR WEBSITE LINK BELLOW FOR MORE INFORMATION ABOUT PUG PUPPIES. PUG PUPPY ADOPTION Pug puppies for sale PUG PUPPIES FOR SALE NEAR ME PUG PUPPIES NEAR ME PUG PUPPIES FOR SALE UNDER 500 NEAR ME CUTE PUG PUPPIES BLACK PUG PUPPIES BLACK PUG PUPPIES FOR SALE PUG PUPPIES FOR ADOPTION BLACK PUG PUPPIES FOR SALE NEAR ME CHIHUAHUA PUG MIX PUPPIES TEACUP PUG PUPPIES HOW MUCH IS A PUG PUPPY BABY PUG PUPPIES PICTURES OF PUG PUPPIES PUG PUPPIES FOR SALE IN OHIO PUG PUPPIES FOR SALE IN PA PUG PUPPIES PRICE PUG MIX PUPPIES TEACUP PUG PUPPIES FOR SALE BABY PUG PUPPIES FOR SALE BEST FOOD FOR PUG PUPPY NEWBORN PUG PUPPIES PUG PUPPIES CRAIGSLIST PUG PUPPIES FOR SALE CRAIGSLIST WHITE PUG PUPPIES PUG PUPPIES FOR SALE IN MICHIGAN PUG PUPPIES FOR SALE UNDER 500 ADORABLE PUG PUPPIES BRINDLE PUG PUPPY HOW MUCH DOES A PUG PUPPY COST PITBULL PUG MIX PUPPIES PUGS FOR SALE NEAR ME PUG PUPPIES FOR SALE 200 PUG PUPPIES FOR SALE IN NJ PUG PUPPIES FOR SALE IN WISCONSIN PUG PUPPIES MICHIGAN PUG PUPPY COST MERLE PUG PUPPY FOR ADOPTION BEST PUG PUPPY FOOD ROYAL CANIN PUG PUPPY FOOD FAWN PUG PUPPY PUG PUPPIES FOR SALE FLORIDA PUG PUPPIES FOR SALE IN INDIANA PUG PUPPIES FOR SALE IN KY PUG PUPPIES FOR SALE IN NC PUG PUPPIES FOR SALE IN TEXAS PUG PUPPIES FOR SALE MN PUG DOG PUPPY AKC REGISTERED PUG PUPPIES FOR SALE PUG ALL BLACK CHEAP PUG PUPPIES FOR SALE NEAR ME PUGS PUPPIES FOR SALE CHEAP PUG PUPPIES FOR SALE IN CALIFORNIA MINIATURE PUG PUPPIES FOR SALE NEAR ME MINIATURE PUG PUPPIES FOR SALE CHEAP PUG PUPPIES FOR SALE IN NJ KNOWN FACTS ABOUT PUG PUPPIES ADOPT PUG PUPPIS RECUE A PUG PUPPY PERFECT HOUSE OF PUGS PUG PUPPIES INSTAGRAM PINTEREST QUORA Google Page USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA USA
pugpuppies95 · 38 weeks and 5 days ago
Saxenda Kopen Xtc kopen Victoza kopen Zovirax kopen Cocaine kopen saxenda kopen sumatriptan-kopen Morfine Kopen Oxycontin 40 mg kopen Suboxon kopen MDMA Kopen Ephedrin kaufen Etizolam kaufen Lormetazepam kaufen Mirtazapin kaufen Oxazepam kaufen Zyban kopen Xenical kopen Pantoprazol kopen Pantoprazol 20 mg Ozempic kopen Methylphenidate Kopen Naproxen Kopen Quaalude Kopen Morfine Injecteren Fentanyl Pleister Oxazepam 50mg kaufen Pantoprazol kaufen Xanax 2mg kaufen Xanax 1 mg kaufen Temazepam kaufen Androgel kopen Glucophage kopen Cialis kopen Viagra kopen Viagra kruidvat Clonazepam Kopen Imovane Kopen Adderall Nederland Concerta 54 mg Kopen Concerta 36 mg Kopen Tramadol 50 mg kaufen Genotropin pen kaufen Flurazepam kaufen Finasterid kaufen Dormicum kaufen Oxycodon 40 mg kopen Champix kopen Oxycodon teva kopen Tramadol 100 mg Stilnox 10mg kopen Flurazepam Kopen Finasteride Kopen Amfetamine Kopen Amoxicilline Kopen Cocaine Kopen Diclofenac kaufen Concerta Tabletten kaufen Champix kaufen Bromazepam 6 mg kaufen Bromazepam 3 mg kaufen Pijnstillers oxycodon Oxycodone 20 mg Kopen Amoxicilline Kopen Benzedrine Kopen Insuline Kopen Oxycodon 20 mg kaufen oxycodon 80 mg kaufen Oxycodon 10 mg kaufen Zopiclon kaufen Nolvadex 10mg Kopen Oxycodon Slapen Sustanon Kopen Tramadol 200mg Tramadol 100mg Tramadol Paracetamol Naproxen kopen Mdma capsules Zolpidem kopen Saxenda kopen oxycodone 20mg Kopen Xanax gele kopen Stilnox Kopen Alprazolam Kopen Zolpidem Kopen Suboxone Kopen Percocet Kopen Amfetamine Kopen Quaalude Kopen Fentanyl pleister Kopen Strattera kopen Oxycodon kopen Diazepam 10 mg kopen Morfine injecteren Tylenol kopen Diazepam Kopen Enanthate Kopen Ketamine Kopen Lyrica Medicatie Ketamine 10 gram Baclofen kaufen Oxycodon Naloxon kaufen Nitrazepam 10 mg kaufen Clonazepam 2mg kaufen kaufen Adderall Tramadol dosering Xanax 2mg kopen Lyrica 300mg Kopen Azithromycin 250 Kopen Oxycodon hcl Kopen Midazolam Kopen Mirtazapine Kopen Insuline 10ml Kopen Flunitrazepam 2mg Benzedrine kopen Oxycodon 5 mg kaufen Lorazepam kaufen Fentanyl Pflaster kaufen Temazepam kaufen Diazepam Rektal kaufen Tylenol Kopen Ritalin Kopen Codeine 15mg Oxazepam Kopen Oxycodon Kopen Doxycycline kopen Dormicum 15 mg Concerta kopen Kamagra 100mg kopen Baclofen kopen Diclofenac Kopen Doxycycline Kopen Bromazepam Kopen Bromazepam 3 mg kopen Fentanyl Pleister Kopen Temazepam 20 mg kopen Pijnstiller oxycodon Lasix-40mg kopen Lorazepam kopen Lorazepam 2.5 MG kopen Oxycontin kopen Oxycontin 40 mg Doxycycline 50 mg Alprazolam kopen Diclofenac kopen Pijnstillers Oxycodon Temazepam 20 mg Saxenda Kopen Champix Kopen Baclofen Kopen Oxycodon Schmerzmittel kaufen Saxenda kaufen Oxycodon 40mg kaufen Diazepam kaufen Zolpidem kaufen Dexedrine Kopen Methamfetamine Kopen Oxycontin Kopen Concerta Kopen Dormicum 15 mg Codeine kopen Flunitrazepam 2mg Mirtazapine kopen Midazolam kopen Nembutal kopen Lyrica medicatie kopen Ketamine kopen Enanthate kopen Finasteride kopen Flurazepam kopen Lorazepam 25 mg Lorazepam Kopen Lasix 40mg Kopen Percocet kopen Pijnstiller Oxycodon Ritalin 10mg kaufen Concerta 36 mg kaufen Concerta 54 mg kaufen Morphin kaufen Nitrazepam kaufen ketamine kopen Methamfetamine kopen Cocaine kopen Dexedrine kopen Oxazepam 50 mg Temazepam 10 mg Oxycodon retardtabletten Fentanyl pleister Bromazepam 3 mg kopen Bromazepam kopen Zithromax kopen Oxycodon Retardtabletten Temazepam 10 mg Kopen Strattera 40 mg Kopen Lyrica 300mg Kopen Nembutal Kopen Ephedrin kaufen Lorazepam kaufen Oxycodon droge 15mg kaufen Tramadol 100 mg kaufen Doxycyclin kaufen Sustanon Kopen Ritalin Kopen Tramadol 50 mg Kopen Nolvadex Kopen Morfine 60 mg Kopen Doxycycline 50 mg Kamagra Kopen Oxycodon hcl Azithromycin Kopen Adderall Pillen Kopen Concerta 36 mg kopen Concerta 54 mg kopen Adderall Nederland Imovane 7.5 mg kopen Clonazepam kopen Ozempic Kopen Sumatriptan kopen Adderall nederland Adderall kopen Ritalin kopen Alprazolam kopen Androgel kopen Azithromycin kopen Baclofen kruidvat Bromazepam 3 mg Bromazepam kopen Champix kopen Cialis kopen Clonazepam kopen Cocaine kopen Codeine kopen Concerta medicatie Concerta kopen Concerta medicijn Dexedrine kopen Diazepam kruidvat Diclofenac kruidvat Dormicum kopen Doxycycline kopen Doxycycline 100mg Testosterone enanthate Anavar kopen Fentanyl pleister Fentanyl pleisters Finasteride kopen Flunitrazepam kopen Flurazepam 30 mg Glucophage 850 Zopiclon kruidvat Insuline spuiten Kamagra kopen Ketamine kopen Ketamine drugs Benzedrine kopen Lyrica 300mg MDMA kopen Lasix 40mg Lorazepam kopen Lorazepam 1mg Lyrica medicatie Methamfetamine kopen Midazolam neusspray Birtazapine slapen Morfine pillen Morfine injectie Mysimba kopen Naproxen kruidvat Nembutal kopen Nolvadex kopen Orlistat kopen Oxazepam kruidvat Oxycodon kopen kruidvat Oxycodon hcl Oxycodon 10 mg Oxycodon kopen Oxycodon bestellen Oxycodon pijnstiller Oxycodon kopen betrouwbaar Oxycodon 5 mg Oxycontin nederland Oxycontin kopen Ozempic afvallen Ozempic kopen zonder recept Pantoprazol 40 mg Pantoprazol kruidvat Oxycodon werking Saxenda kopen Sildenafil kopen Stilnox 10mg kopen Strattera 40 mg Suboxone kopen Sustanon kopen Temazepam-10-mg Temazepam kruidvat Tramadol paracetamol Tramadol 50 mg Tramadol kopen Tylenol nederland Victoza kopen Xanax kruidvat Xenical kopen Zithromax kopen Zolpidem kopen Zyban kopen Comprar Saxenda Fentermina comprar sin receta Wegovy espana Orlistat sin receta Metformina 850 Mounjaro comprar Comprar victoza Comprar trulicity Ozempic comprar Saxenda comprar Saxenda Weight Loss Phentermine Weight Loss Trulicity For Weight Loss Wegovy Australia Orlistat Australia Victoza Australia Metformin Weight Loss Mounjaro Australia Ozempic Australia Saxenda Australia Ozempic Per Dimagrire Dimagrire Velocemente Fentamina Per Dimagrire Wegovy Acquisto Online Orlistat Per Dimagrire Victoza Dimagrire Trulicity fa Dimagrire Metformina Per Dimagrire Mounjaro Italia Ozempic senza ricetta Saxenda Per Dimagrire shipping container for sale Ammunition for sale Zeecontainer kopen
rxapotheek1222 · 24 weeks and 2 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: