Re: how to view environment variables



Chris Whitehouse wrote:
sysutils/fusefs-ntfs/files/README.FreeBSD refers to various environment
variables, eg UBLIO_BLOCKSIZE and others. How do I find out what they
are set to? set and printenv don't find them. I'm using standard csh and
FreeBSD 7.0-STABLE, fuse.ko is loaded and ntfs-3g works except it
seems very slow.

The "env" command prints the environment variables of your
current shell (should work with any shell).

To view the environment variables of another process, use
something like "ps -ewwp 1234" (1234 being the PID number).
This requires PROCFS to be mounted on /proc.

Best regards
Oliver

--
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd

"The scanf() function is a large and complex beast that often does
something almost but not quite entirely unlike what you desired."
-- Chris Torek
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: rm(1) bug, possibly serious
    ... zsh is my shell of choice. ... Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. ... Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: ...
    (freebsd-stable)
  • Re: jlogin.sh - a small nice jails helper!
    ... standard shell. ... processes running in jails, ordered by jail IDs: ... Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. ... Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: ...
    (freebsd-stable)